Skip to content

Commit 7cba937

Browse files
authored
Merge branch 'feat/consolidated-buy-amount-entry' into feat/usd-on-flipcash-deposit
2 parents 3e7a2d1 + 64b4260 commit 7cba937

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

ui/scanner/src/main/kotlin/com/getcode/ui/scanner/CodeScanner.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -145,7 +145,7 @@ fun CodeScanner(
145145
ProcessCameraProvider.getInstance(context).get().unbindAll()
146146
}
147147
camera = null
148-
} else if (event == Lifecycle.Event.ON_RESUME) {
148+
} else if (event == Lifecycle.Event.ON_START || event == Lifecycle.Event.ON_RESUME) {
149149
scope.launch {
150150
if (camera == null) {
151151
if (!biometricsState.isAwaitingAuthentication) {

0 commit comments

Comments
 (0)