disable sos or strobo if the other one is enabled

This commit is contained in:
tibbi
2019-08-24 16:43:45 +02:00
parent 2cdf4a55a1
commit a2410274eb
2 changed files with 12 additions and 0 deletions

View File

@ -248,6 +248,8 @@ class MainActivity : SimpleActivity() {
window.addFlags(WindowManager.LayoutParams.FLAG_KEEP_SCREEN_ON)
mIsFlashlightOn = true
sos_btn.setTextColor(getContrastColor())
changeIconColor(getContrastColor(), stroboscope_btn)
stroboscope_bar.beInvisible()
}