Skip to content

Commit 5115739

Browse files
committed
show the bottom buttons on resume only if we have the permissions already
1 parent 520a2b1 commit 5115739

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

app/src/main/kotlin/com/simplemobiletools/camera/activities/MainActivity.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -466,10 +466,10 @@ class MainActivity : SimpleActivity(), PreviewListener, PhotoProcessor.MediaSave
466466
togglePhotoVideo()
467467
checkButtons()
468468
}
469+
toggleBottomButtons(false)
469470
}
470471
window.addFlags(WindowManager.LayoutParams.FLAG_KEEP_SCREEN_ON)
471472
mOrientationEventListener.enable()
472-
toggleBottomButtons(false)
473473
}
474474

475475
private fun resumeCameraItems() {

0 commit comments

Comments
 (0)