Fix: Only reset timer when disabling debug premium if it was a premium option (5s/10s)
This commit is contained in:
parent
ac3b9459b4
commit
83b03f269f
@ -357,7 +357,9 @@ final class SettingsViewModel: RingLightConfigurable {
|
||||
settings.photoQualityRaw = PhotoQuality.medium.rawValue
|
||||
}
|
||||
|
||||
if settings.selectedTimerRaw != TimerOption.three.rawValue {
|
||||
// Only reset timer if it's a premium option (5s or 10s)
|
||||
let currentTimer = TimerOption(rawValue: settings.selectedTimerRaw) ?? .three
|
||||
if Self.premiumTimerOptions.contains(currentTimer) {
|
||||
settings.selectedTimerRaw = TimerOption.three.rawValue
|
||||
}
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user