Skip to content

Commit

Permalink
Fix starting qr code scanner (#1581)
Browse files Browse the repository at this point in the history
A bug from #1570 (upgraded the `mobile_scanner` package)
  • Loading branch information
nilsreichardt authored Apr 30, 2024
1 parent 3be4057 commit 7d1e801
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/qr_code_scanner/lib/src/scanner.dart
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,7 @@ class _ScannerState extends State<Scanner> {
void initState() {
super.initState();
controller = widget.mockController ?? MobileScannerController();
controller.start();
listenToDetections();
}

Expand Down

0 comments on commit 7d1e801

Please sign in to comment.