mirror of
https://github.com/cake-tech/cake_wallet.git
synced 2025-01-09 12:29:31 +00:00
Merge pull request #722 from cake-tech/trim-addresses-scanned-from-qr
Fix Additional characters on scanned QR addresses
This commit is contained in:
commit
1299217626
1 changed files with 1 additions and 1 deletions
|
@ -7,7 +7,7 @@ Future<String> presentQRScanner() async {
|
||||||
try {
|
try {
|
||||||
final result = await BarcodeScanner.scan();
|
final result = await BarcodeScanner.scan();
|
||||||
isQrScannerShown = false;
|
isQrScannerShown = false;
|
||||||
return result.rawContent;
|
return result.rawContent.trim();
|
||||||
} catch (e) {
|
} catch (e) {
|
||||||
isQrScannerShown = false;
|
isQrScannerShown = false;
|
||||||
rethrow;
|
rethrow;
|
||||||
|
|
Loading…
Reference in a new issue