Update Notch Timer View: Give option to disable/enable presets

This commit is contained in:
Hariharan Mudaliar 2025-12-10 14:28:40 +05:30
commit 57fc9b9bf9
No known key found for this signature in database
GPG key ID: D04F1C2B9194DDFC
4 changed files with 114 additions and 43 deletions

View file

@ -547,6 +547,7 @@ extension Defaults.Keys {
static let enableTimerFeature = Key<Bool>("enableTimerFeature", default: true)
static let timerDisplayMode = Key<TimerDisplayMode>("timerDisplayMode", default: .tab)
static let timerPresets = Key<[TimerPreset]>("timerPresets", default: TimerPreset.defaultPresets)
static let showTimerPresetsInNotchTab = Key<Bool>("showTimerPresetsInNotchTab", default: true)
static let timerIconColorMode = Key<TimerIconColorMode>("timerIconColorMode", default: .adaptive)
static let timerSolidColor = Key<Color>("timerSolidColor", default: .blue)
static let timerShowsCountdown = Key<Bool>("timerShowsCountdown", default: true)