aboutsummaryrefslogtreecommitdiff
path: root/Hotline/HotlineApp.swift
diff options
context:
space:
mode:
authorDustin Mierau <dustin@mierau.me>2023-12-08 10:04:55 -0800
committerDustin Mierau <dustin@mierau.me>2023-12-08 10:04:55 -0800
commit537ed932a4c8d639089f276e322de4e946b0d26b (patch)
tree1d3604a5f777be87f2d3d405ddfe5725c687b99f /Hotline/HotlineApp.swift
parent767eb58da13d83aa321fff12c97fe433cd8fa734 (diff)
Starting to move to async/await model so the client code is no longer burdoned by observation and isn't bound to this app.
Diffstat (limited to 'Hotline/HotlineApp.swift')
-rw-r--r--Hotline/HotlineApp.swift2
1 files changed, 2 insertions, 0 deletions
diff --git a/Hotline/HotlineApp.swift b/Hotline/HotlineApp.swift
index 3e714d8..82fa7d4 100644
--- a/Hotline/HotlineApp.swift
+++ b/Hotline/HotlineApp.swift
@@ -20,6 +20,8 @@ struct HotlineApp: App {
@State private var hotline = HotlineClient()
@State private var tracker = HotlineTrackerClient(tracker: HotlineTracker("hltracker.com"))
+ private var model = Hotline(trackerClient: HotlineTrackerClient())
+
var body: some Scene {
WindowGroup {