mirror of
https://github.com/home-assistant/frontend.git
synced 2025-07-29 12:16:39 +00:00
More lint. Sure hope this gets squashed...
This commit is contained in:
parent
edd9cb769d
commit
6c59a42dda
@ -64,7 +64,6 @@ export class HaQrCode extends LitElement {
|
||||
changedProperties.has("errorCorrectionLevel") ||
|
||||
changedProperties.has("centerImage"))
|
||||
) {
|
||||
|
||||
QRCode.toCanvas(canvas, this.data, {
|
||||
errorCorrectionLevel:
|
||||
this.errorCorrectionLevel || (this.centerImage ? "Q" : "M"),
|
||||
@ -73,7 +72,7 @@ export class HaQrCode extends LitElement {
|
||||
margin: this.margin,
|
||||
maskPattern: this.maskPattern,
|
||||
color: {
|
||||
light: "#ffffffff",
|
||||
light: "#fff",
|
||||
},
|
||||
}).catch((err) => {
|
||||
this._error = err.message;
|
||||
|
Loading…
x
Reference in New Issue
Block a user