Skip to content

Commit b2b3b12

Browse files
committed
Fix double photo take
1 parent 7043640 commit b2b3b12

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

app/src/main/kotlin/com/darkrockstudios/app/securecamera/camera/CameraControls.kt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -125,6 +125,7 @@ fun CameraControls(
125125
LaunchedEffect(capturePhoto.value) {
126126
if (capturePhoto.value != null) {
127127
doCapturePhoto()
128+
capturePhoto.value = null
128129
}
129130
}
130131

0 commit comments

Comments
 (0)