set the flash icon to Off at hiding to avoid glitches at reshowing
This commit is contained in:
parent
6a1cc57c00
commit
3f23f017d2
|
@ -517,6 +517,7 @@ class MainActivity : SimpleActivity(), PhotoProcessor.MediaSavedListener {
|
|||
toggle_flash.beVisible()
|
||||
} else {
|
||||
toggle_flash.beInvisible()
|
||||
toggle_flash.setImageResource(R.drawable.ic_flash_off)
|
||||
mPreview?.setFlashlightState(FLASH_OFF)
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue