Trim the content scanned via QR to remove extra spaces/new lines

OmarHatem committed Jan 10, 2023 at 19:52 UTC 43dc729db4b6b9edc5cfcb4be3b8107ac324c698
1 file changed +1 -1
lib/entities/qr_scanner.dart
+1 -1
@@ -7,7 +7,7 @@ Future<String> presentQRScanner() async {
7 try {
8 final result = await BarcodeScanner.scan();
9 isQrScannerShown = false;
10 - return result.rawContent;
10 + return result.rawContent.trim();
11 } catch (e) {
12 isQrScannerShown = false;
13 rethrow;