mirror of
https://github.com/SimpleMobileTools/Simple-Flashlight.git
synced 2025-06-05 21:59:19 +02:00
minor code style update
This commit is contained in:
@ -91,13 +91,13 @@ class MainActivity : SimpleActivity() {
|
||||
|
||||
requestedOrientation = if (config.forcePortraitMode) ActivityInfo.SCREEN_ORIENTATION_PORTRAIT else ActivityInfo.SCREEN_ORIENTATION_SENSOR
|
||||
invalidateOptionsMenu()
|
||||
|
||||
if(config.turnFlashlightOn && reTurnFlashlightOn) {
|
||||
|
||||
if (config.turnFlashlightOn && reTurnFlashlightOn) {
|
||||
mCameraImpl!!.enableFlashlight()
|
||||
}
|
||||
|
||||
|
||||
reTurnFlashlightOn = true
|
||||
|
||||
|
||||
checkShortcuts()
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user