Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 57e5b10b authored by Romain Hunault's avatar Romain Hunault
Browse files

Set default "turn flashlight on" setting to true

parent 8d43a220
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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