Loading app/src/main/kotlin/com/simplemobiletools/flashlight/helpers/Config.kt +1 −1 Original line number Diff line number Diff line Loading @@ -18,7 +18,7 @@ class Config(context: Context) : BaseConfig(context) { set(stroboscope) = prefs.edit().putBoolean(STROBOSCOPE, stroboscope).apply() var turnFlashlightOn: Boolean get() = prefs.getBoolean(TURN_FLASHLIGHT_ON, false) get() = prefs.getBoolean(TURN_FLASHLIGHT_ON, true) set(turnFlashlightOn) = prefs.edit().putBoolean(TURN_FLASHLIGHT_ON, turnFlashlightOn).apply() var stroboscopeProgress: Int Loading Loading
app/src/main/kotlin/com/simplemobiletools/flashlight/helpers/Config.kt +1 −1 Original line number Diff line number Diff line Loading @@ -18,7 +18,7 @@ class Config(context: Context) : BaseConfig(context) { set(stroboscope) = prefs.edit().putBoolean(STROBOSCOPE, stroboscope).apply() var turnFlashlightOn: Boolean get() = prefs.getBoolean(TURN_FLASHLIGHT_ON, false) get() = prefs.getBoolean(TURN_FLASHLIGHT_ON, true) set(turnFlashlightOn) = prefs.edit().putBoolean(TURN_FLASHLIGHT_ON, turnFlashlightOn).apply() var stroboscopeProgress: Int Loading