From 44fd0d6ed7f3040de69d324f45962778071d9357 Mon Sep 17 00:00:00 2001 From: Ivan Antunes Date: Mon, 15 Jul 2024 17:14:53 -0300 Subject: [PATCH] feat: qrcode config --- lib/actions/actions.dart | 1 - lib/pages/qr_code_page/qr_code_page_widget.dart | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/lib/actions/actions.dart b/lib/actions/actions.dart index 2f997b94..bdaa558b 100644 --- a/lib/actions/actions.dart +++ b/lib/actions/actions.dart @@ -556,7 +556,6 @@ Uint8List assembleQRPacket(int direction, String identifier, String password) { log("Pacote: $packet"); log("Bytes: $bytes"); - return Uint8List.fromList(packet); } diff --git a/lib/pages/qr_code_page/qr_code_page_widget.dart b/lib/pages/qr_code_page/qr_code_page_widget.dart index dfaa9694..76febf7a 100644 --- a/lib/pages/qr_code_page/qr_code_page_widget.dart +++ b/lib/pages/qr_code_page/qr_code_page_widget.dart @@ -153,7 +153,7 @@ void dispose() { data: 'example.com', type: 'URl', dimension: dimension, - errorCorrectLevel: QrErrorCorrectLevel.H, + errorCorrectLevel: QrErrorCorrectLevel.M, maskPattern: -1, version: QrVersions.auto, identifier: FFAppState().userDevUUID,