From fe4f4aaae9716087343862554a278341df70e35d Mon Sep 17 00:00:00 2001 From: Fabian Freund Date: Mon, 7 Jul 2025 20:17:36 +0200 Subject: [PATCH] increase correction level to mitigate image cutout --- .../features/browser/presentation/dialogs/qr_code.dart | 2 ++ 1 file changed, 2 insertions(+) diff --git a/app/lib/features/geckoview/features/browser/presentation/dialogs/qr_code.dart b/app/lib/features/geckoview/features/browser/presentation/dialogs/qr_code.dart index 5c588e82..a2e6f998 100644 --- a/app/lib/features/geckoview/features/browser/presentation/dialogs/qr_code.dart +++ b/app/lib/features/geckoview/features/browser/presentation/dialogs/qr_code.dart @@ -31,6 +31,8 @@ Future showQrCode(BuildContext context, String data) { image: AssetImage('assets/icon/icon.png'), ), ), + //Increase level to mitigate image cutout + errorCorrectLevel: QrErrorCorrectLevel.H, ), ), const SizedBox(height: 20),