mirror of
https://github.com/SimpleMobileTools/Simple-Camera.git
synced 2025-02-16 19:30:40 +01:00
make sure the bottom buttons are visible after resume or camera toggle
This commit is contained in:
parent
e56e1f15d1
commit
aa4cf933c6
@ -338,6 +338,7 @@ class MainActivity : SimpleActivity(), PreviewListener, PhotoProcessor.MediaSave
|
||||
mIsInPhotoMode = !mIsInPhotoMode
|
||||
showToggleCameraIfNeeded()
|
||||
checkButtons()
|
||||
toggleBottomButtons(false)
|
||||
}
|
||||
|
||||
private fun checkButtons() {
|
||||
@ -464,6 +465,7 @@ class MainActivity : SimpleActivity(), PreviewListener, PhotoProcessor.MediaSave
|
||||
}
|
||||
window.addFlags(WindowManager.LayoutParams.FLAG_KEEP_SCREEN_ON)
|
||||
mOrientationEventListener.enable()
|
||||
toggleBottomButtons(false)
|
||||
}
|
||||
|
||||
private fun resumeCameraItems() {
|
||||
|
Loading…
x
Reference in New Issue
Block a user