fix permission error notification

This commit is contained in:
Fabian Freund
2026-06-02 11:21:43 +02:00
parent 341edc6951
commit 2a481bb873
4 changed files with 24 additions and 17 deletions
@@ -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);
},