Merge pull request #722 from cake-tech/trim-addresses-scanned-from-qr

Fix Additional characters on scanned QR addresses
This commit is contained in:
Omar Hatem 2023-01-10 21:01:40 +02:00 committed by GitHub
commit 1299217626
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -7,7 +7,7 @@ Future<String> presentQRScanner() async {
try {
final result = await BarcodeScanner.scan();
isQrScannerShown = false;
return result.rawContent;
return result.rawContent.trim();
} catch (e) {
isQrScannerShown = false;
rethrow;