diff --git a/app/src/main/kotlin/com/simplemobiletools/camera/activities/MainActivity.kt b/app/src/main/kotlin/com/simplemobiletools/camera/activities/MainActivity.kt index 7a70c4c1..f74ab89a 100644 --- a/app/src/main/kotlin/com/simplemobiletools/camera/activities/MainActivity.kt +++ b/app/src/main/kotlin/com/simplemobiletools/camera/activities/MainActivity.kt @@ -228,7 +228,7 @@ class MainActivity : SimpleActivity(), SensorEventListener, PreviewListener, Pho return } - mFlashlightState = ++mFlashlightState % 3 + mFlashlightState = ++mFlashlightState % if (mIsInPhotoMode) 3 else 2 checkFlash() }