mirror of
https://github.com/cake-tech/cake_wallet.git
synced 2024-12-22 19:49:22 +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 {
|
||||
final result = await BarcodeScanner.scan();
|
||||
isQrScannerShown = false;
|
||||
return result.rawContent;
|
||||
return result.rawContent.trim();
|
||||
} catch (e) {
|
||||
isQrScannerShown = false;
|
||||
rethrow;
|
||||
|
|
Loading…
Reference in a new issue