update every button clickability on the main thread

This commit is contained in:
tibbi 2018-06-08 22:46:15 +02:00
parent afa5a46303
commit 104eca5196
1 changed files with 4 additions and 4 deletions

View File

@ -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) {