We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 008f752 commit d327c26Copy full SHA for d327c26
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