fix(scanner): default auto scan to manual off
This commit is contained in:
parent
96b6e34583
commit
ede7c6e32e
1 changed files with 3 additions and 1 deletions
|
|
@ -60,7 +60,9 @@ class _ScannerScreenState extends State<ScannerScreen>
|
||||||
super.initState();
|
super.initState();
|
||||||
WidgetsBinding.instance.addObserver(this);
|
WidgetsBinding.instance.addObserver(this);
|
||||||
_activeCollectionId = widget.activeCollectionId;
|
_activeCollectionId = widget.activeCollectionId;
|
||||||
_autoScanEnabled = widget.onDetected != null;
|
if (widget.onDetected != null) {
|
||||||
|
_statusText = 'Auto scan paused';
|
||||||
|
}
|
||||||
_textRecognizer = TextRecognizer();
|
_textRecognizer = TextRecognizer();
|
||||||
_initCamera();
|
_initCamera();
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue