diff options
| author | Dustin Mierau <dustin@mierau.me> | 2023-12-04 14:31:12 -0800 |
|---|---|---|
| committer | Dustin Mierau <dustin@mierau.me> | 2023-12-04 14:31:12 -0800 |
| commit | b1a176ba3da2c7cf815084f0f8109008fe763809 (patch) | |
| tree | 5bbf52900d5dab9091216cc0f1e5dc84ad69cc9f /Hotline/HotlineApp.swift | |
| parent | 471546236b8991f61d26c0e3aa8ee48b83b983af (diff) | |
Starting to get app views displaying data (roughly)
Diffstat (limited to 'Hotline/HotlineApp.swift')
| -rw-r--r-- | Hotline/HotlineApp.swift | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Hotline/HotlineApp.swift b/Hotline/HotlineApp.swift index 238ca48..d999e89 100644 --- a/Hotline/HotlineApp.swift +++ b/Hotline/HotlineApp.swift @@ -16,6 +16,7 @@ struct HotlineApp: App { // } // }() + @State private var appState = HotlineState() @State private var hotline = HotlineClient() @State private var tracker = HotlineTrackerClient(tracker: HotlineTracker("hltracker.com")) @@ -23,6 +24,7 @@ struct HotlineApp: App { WindowGroup { HotlineView() + .environment(appState) .environment(hotline) .environment(tracker) } |