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

@ -3352,6 +3352,7 @@ struct TimerSettings: View {
@Default(.timerShowsLabel) private var showsLabel
@Default(.timerShowsProgress) private var showsProgress
@Default(.timerProgressStyle) private var progressStyle
@Default(.showTimerPresetsInNotchTab) private var showTimerPresetsInNotchTab
@Default(.timerControlWindowEnabled) private var controlWindowEnabled
@Default(.mirrorSystemTimer) private var mirrorSystemTimer
@Default(.timerDisplayMode) private var timerDisplayMode
@ -3494,6 +3495,8 @@ struct TimerSettings: View {
Toggle("Show timer name", isOn: $showsLabel)
Toggle("Show countdown", isOn: $showsCountdown)
Toggle("Show progress", isOn: $showsProgress)
Toggle("Show preset list in timer tab", isOn: $showTimerPresetsInNotchTab)
.settingsHighlight(id: highlightID("Show preset list in timer tab"))
Toggle("Show floating pause/stop controls", isOn: $controlWindowEnabled)
.disabled(showsLabel)