aboutsummaryrefslogtreecommitdiff
path: root/Hotline/Models/ApplicationState.swift
diff options
context:
space:
mode:
authorDustin Mierau <dustin@mierau.me>2025-10-20 22:15:48 -0700
committerDustin Mierau <dustin@mierau.me>2025-10-20 22:15:48 -0700
commitede41868962ffed386b0da694d14cdfe6cfdb34f (patch)
treef0b91edd1d9c1bbc23de525224b49d6f8e48e815 /Hotline/Models/ApplicationState.swift
parent77b3ac3c051fc4e8fa126cd21e261be28f4aad1a (diff)
Cleanup and a bunch of work to fix issues syncing, loading, and general bookmark states in TrackerView. Added search field (substring conjunctive filter on server/bookmark names and descriptions).
Diffstat (limited to 'Hotline/Models/ApplicationState.swift')
-rw-r--r--Hotline/Models/ApplicationState.swift16
1 files changed, 0 insertions, 16 deletions
diff --git a/Hotline/Models/ApplicationState.swift b/Hotline/Models/ApplicationState.swift
deleted file mode 100644
index 6e077c5..0000000
--- a/Hotline/Models/ApplicationState.swift
+++ /dev/null
@@ -1,16 +0,0 @@
-import SwiftUI
-
-@Observable
-final class ApplicationState {
- static let shared = ApplicationState()
-
- 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
-}