fix permission error notification

This commit is contained in:
Fabian Freund committed 2026-06-02 11:21:43 +02:00
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);
},