From 597fe9224c4716b17963f19805c82f7b5f4f9199 Mon Sep 17 00:00:00 2001 From: Crondung <1922635@stud.hs-mannheim.de> Date: Mon, 6 Mar 2023 19:04:49 +0100 Subject: [PATCH] remove prints --- lib/widgets/scanner.dart | 3 --- 1 file changed, 3 deletions(-) diff --git a/lib/widgets/scanner.dart b/lib/widgets/scanner.dart index 0eed1e4..19864a8 100644 --- a/lib/widgets/scanner.dart +++ b/lib/widgets/scanner.dart @@ -17,7 +17,6 @@ class MyScanner extends StatelessWidget { SettingsProvider settingsProvider = context.watch(); void handleSuccess(String? rawValue) { - print('in Success: $rawValue'); String qrText = rawValue!; Map json = stringToJSON(qrText); Settings settings = Settings.fromJson(json); @@ -50,12 +49,10 @@ class MyScanner extends StatelessWidget { final List barcodes = capture.barcodes; for (final barcode in barcodes) { if (barcode.rawValue != null) { - print(barcode.rawValue); return handleSuccess(barcode.rawValue); } } } catch (e) { - print(e); handleError(); } }