Working stuff with revamped UI

This commit is contained in:
Hariharan Mudaliar 2025-12-09 17:03:17 +05:30
commit 5a8c592157
No known key found for this signature in database
GPG key ID: D04F1C2B9194DDFC
11 changed files with 646 additions and 279 deletions

View file

@ -0,0 +1,26 @@
import Defaults
public enum TimerDisplayMode: String, CaseIterable, Defaults.Serializable, Identifiable {
case tab
case popover
public var id: String { rawValue }
var displayName: String {
switch self {
case .tab:
return "Tab"
case .popover:
return "Popover"
}
}
var description: String {
switch self {
case .tab:
return "Shows timer controls as a dedicated tab inside the open notch."
case .popover:
return "Keeps the current popover button beside the notch instead of adding a tab."
}
}
}