More lint. Sure hope this gets squashed...

This commit is contained in:
Thomas Lovén 2024-02-08 09:35:43 +01:00 committed by GitHub
parent edd9cb769d
commit 6c59a42dda
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 2 deletions

View File

@ -64,7 +64,6 @@ export class HaQrCode extends LitElement {
changedProperties.has("errorCorrectionLevel") || changedProperties.has("errorCorrectionLevel") ||
changedProperties.has("centerImage")) changedProperties.has("centerImage"))
) { ) {
QRCode.toCanvas(canvas, this.data, { QRCode.toCanvas(canvas, this.data, {
errorCorrectionLevel: errorCorrectionLevel:
this.errorCorrectionLevel || (this.centerImage ? "Q" : "M"), this.errorCorrectionLevel || (this.centerImage ? "Q" : "M"),
@ -73,7 +72,7 @@ export class HaQrCode extends LitElement {
margin: this.margin, margin: this.margin,
maskPattern: this.maskPattern, maskPattern: this.maskPattern,
color: { color: {
light: "#ffffffff", light: "#fff",
}, },
}).catch((err) => { }).catch((err) => {
this._error = err.message; this._error = err.message;