Skip to content

Commit 48b8687

Browse files
fix: dismiss scanner on unrecognised QR code
1 parent 9904892 commit 48b8687

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

lib/features/send/ui/screens/full_screen_scanner_page.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,8 +36,8 @@ class _FullScreenScannerState extends State<FullScreenScannerPage> {
3636
} catch (e) {
3737
data = (qr, null);
3838
widget.onScannedPaymentRequest(data);
39+
if (mounted) context.pop();
3940
}
40-
setState(() {});
4141
}
4242

4343
@override

0 commit comments

Comments
 (0)