aboutsummaryrefslogtreecommitdiff
path: root/Hotline/HotlineApp.swift
diff options
context:
space:
mode:
Diffstat (limited to 'Hotline/HotlineApp.swift')
-rw-r--r--Hotline/HotlineApp.swift8
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)
}