diff options
Diffstat (limited to 'Hotline/HotlineApp.swift')
| -rw-r--r-- | Hotline/HotlineApp.swift | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/Hotline/HotlineApp.swift b/Hotline/HotlineApp.swift index da49fd0..238ca48 100644 --- a/Hotline/HotlineApp.swift +++ b/Hotline/HotlineApp.swift @@ -16,9 +16,15 @@ struct HotlineApp: App { // } // }() + @State private var hotline = HotlineClient() + @State private var tracker = HotlineTrackerClient(tracker: HotlineTracker("hltracker.com")) + var body: some Scene { + WindowGroup { - TrackerView() + HotlineView() + .environment(hotline) + .environment(tracker) } // .modelContainer(sharedModelContainer) } |