We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 3e7a2d1 + 64b4260 commit 7cba937Copy full SHA for 7cba937
1 file changed
ui/scanner/src/main/kotlin/com/getcode/ui/scanner/CodeScanner.kt
@@ -145,7 +145,7 @@ fun CodeScanner(
145
ProcessCameraProvider.getInstance(context).get().unbindAll()
146
}
147
camera = null
148
- } else if (event == Lifecycle.Event.ON_RESUME) {
+ } else if (event == Lifecycle.Event.ON_START || event == Lifecycle.Event.ON_RESUME) {
149
scope.launch {
150
if (camera == null) {
151
if (!biometricsState.isAwaitingAuthentication) {
0 commit comments