mirror of
https://github.com/SimpleMobileTools/Simple-Camera.git
synced 2025-03-31 17:00:34 +02:00
update every button clickability on the main thread
This commit is contained in:
parent
afa5a46303
commit
104eca5196
@ -276,12 +276,12 @@ class MainActivity : SimpleActivity(), PhotoProcessor.MediaSavedListener {
|
||||
shutter.animate().alpha(alpha).start()
|
||||
toggle_camera.animate().alpha(alpha).start()
|
||||
toggle_flash.animate().alpha(alpha).start()
|
||||
}
|
||||
|
||||
shutter.isClickable = !hide
|
||||
toggle_camera.isClickable = !hide
|
||||
toggle_flash.isClickable = !hide
|
||||
}
|
||||
}
|
||||
|
||||
private fun launchSettings() {
|
||||
if (settings.alpha == 1f) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user