From ede41868962ffed386b0da694d14cdfe6cfdb34f Mon Sep 17 00:00:00 2001 From: Dustin Mierau Date: Mon, 20 Oct 2025 22:15:48 -0700 Subject: 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). --- Hotline/iOSApp.swift | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 Hotline/iOSApp.swift (limited to 'Hotline/iOSApp.swift') diff --git a/Hotline/iOSApp.swift b/Hotline/iOSApp.swift new file mode 100644 index 0000000..2fb6ad2 --- /dev/null +++ b/Hotline/iOSApp.swift @@ -0,0 +1,18 @@ +import SwiftUI +import SwiftData +import UniformTypeIdentifiers + +@main +struct Application: App { + private var model = Hotline(trackerClient: HotlineTrackerClient(), client: HotlineClient()) + + @FocusedValue(\.activeHotlineModel) private var activeHotline: Hotline? + @FocusedValue(\.activeServerState) private var activeServerState: ServerState? + + var body: some Scene { + WindowGroup { + TrackerView() + .environment(model) + } + } +} -- cgit