fix permission error notification
This commit is contained in:
1 parent
341edc6951
commit
2a481bb873
4 files changed
+24
-17
No files matched your search
@@ -32,12 +32,7 @@ class QrScannerButton extends HookConsumerWidget {
|
||||
Widget build(BuildContext context, WidgetRef ref) {
|
||||
return IconButton(
|
||||
onPressed: () async {
|
||||
final result = await showDialog<Barcode>(
|
||||
context: context,
|
||||
builder: (context) {
|
||||
return const QrScannerDialog();
|
||||
},
|
||||
);
|
||||
final result = await showQrScannerDialog(context);
|
||||
|
||||
onScanResult(result);
|
||||
},
|
||||
|
||||
Reference in new issue
Block a user