We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ba780f4 commit 05122dfCopy full SHA for 05122df
app/src/main/kotlin/com/simplemobiletools/flashlight/activities/MainActivity.kt
@@ -91,13 +91,13 @@ class MainActivity : SimpleActivity() {
91
92
requestedOrientation = if (config.forcePortraitMode) ActivityInfo.SCREEN_ORIENTATION_PORTRAIT else ActivityInfo.SCREEN_ORIENTATION_SENSOR
93
invalidateOptionsMenu()
94
-
95
- if(config.turnFlashlightOn && reTurnFlashlightOn) {
+
+ if (config.turnFlashlightOn && reTurnFlashlightOn) {
96
mCameraImpl!!.enableFlashlight()
97
}
98
99
reTurnFlashlightOn = true
100
101
checkShortcuts()
102
103
0 commit comments