diff options
| author | Dustin Mierau <dustin@mierau.me> | 2025-10-28 10:06:33 -0700 |
|---|---|---|
| committer | Dustin Mierau <dustin@mierau.me> | 2025-10-28 10:06:33 -0700 |
| commit | c5165d348c1efbcc553b3c31dbeaa23353914fb6 (patch) | |
| tree | 6ba4121a34c095d1180d3025f59e5a300b533937 /Hotline/State | |
| parent | d23d0ad9405c1622569415e6ce16d3768af2936a (diff) | |
Some state cleanup and banner color caching in ServerState.
Diffstat (limited to 'Hotline/State')
| -rw-r--r-- | Hotline/State/AppState.swift | 13 |
1 files changed, 4 insertions, 9 deletions
diff --git a/Hotline/State/AppState.swift b/Hotline/State/AppState.swift index 11bae74..3917ad0 100644 --- a/Hotline/State/AppState.swift +++ b/Hotline/State/AppState.swift @@ -7,18 +7,13 @@ extension EnvironmentValues { @Observable final class AppState { static let shared = AppState() - + private init() { - + } - + var activeHotline: Hotline? = nil var activeServerState: ServerState? = nil - - // Frontmost server window information - var activeServerID: UUID? = nil - var activeServerBanner: NSImage? = nil - var activeServerName: String? = nil - + var cloudKitReady: Bool = false } |