From c5165d348c1efbcc553b3c31dbeaa23353914fb6 Mon Sep 17 00:00:00 2001 From: Dustin Mierau Date: Tue, 28 Oct 2025 10:06:33 -0700 Subject: Some state cleanup and banner color caching in ServerState. --- Hotline/State/AppState.swift | 13 ++++--------- 1 file changed, 4 insertions(+), 9 deletions(-) (limited to 'Hotline/State') 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 } -- cgit