mirror of
https://github.com/FBukovina/Atoll.git
synced 2026-10-28 07:34:32 +00:00
Working stuff with revamped UI
This commit is contained in:
parent
8659a338dd
commit
5a8c592157
11 changed files with 646 additions and 279 deletions
|
|
@ -3354,6 +3354,7 @@ struct TimerSettings: View {
|
|||
@Default(.timerProgressStyle) private var progressStyle
|
||||
@Default(.timerControlWindowEnabled) private var controlWindowEnabled
|
||||
@Default(.mirrorSystemTimer) private var mirrorSystemTimer
|
||||
@Default(.timerDisplayMode) private var timerDisplayMode
|
||||
@Default(.enableLockScreenTimerWidget) private var enableLockScreenTimerWidget
|
||||
@AppStorage("customTimerDuration") private var customTimerDuration: Double = 600
|
||||
@State private var customHours: Int = 0
|
||||
|
|
@ -3390,6 +3391,15 @@ struct TimerSettings: View {
|
|||
Defaults.Toggle("Mirror macOS Clock timers", key: .mirrorSystemTimer)
|
||||
.help("Shows the system Clock timer in the notch when available. Requires Accessibility permission to read the status item.")
|
||||
.settingsHighlight(id: highlightID("Mirror macOS Clock timers"))
|
||||
|
||||
Picker("Timer controls appear as", selection: $timerDisplayMode) {
|
||||
ForEach(TimerDisplayMode.allCases) { mode in
|
||||
Text(mode.displayName).tag(mode)
|
||||
}
|
||||
}
|
||||
.pickerStyle(.segmented)
|
||||
.help(timerDisplayMode.description)
|
||||
.settingsHighlight(id: highlightID("Timer controls appear as"))
|
||||
}
|
||||
} header: {
|
||||
Text("Timer Feature")
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue