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,11 +276,11 @@ 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
shutter.isClickable = !hide
toggle_camera.isClickable = !hide
toggle_flash.isClickable = !hide
}
}
private fun launchSettings() {