From 6c59a42dda33217612a166623551572cf4b11d89 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Thomas=20Lov=C3=A9n?= Date: Thu, 8 Feb 2024 09:35:43 +0100 Subject: [PATCH] More lint. Sure hope this gets squashed... --- src/components/ha-qr-code.ts | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/components/ha-qr-code.ts b/src/components/ha-qr-code.ts index 571451eb41..bf95b70aa0 100644 --- a/src/components/ha-qr-code.ts +++ b/src/components/ha-qr-code.ts @@ -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;