From 537ed932a4c8d639089f276e322de4e946b0d26b Mon Sep 17 00:00:00 2001 From: Dustin Mierau Date: Fri, 8 Dec 2023 10:04:55 -0800 Subject: Starting to move to async/await model so the client code is no longer burdoned by observation and isn't bound to this app. --- Hotline/HotlineApp.swift | 2 ++ 1 file changed, 2 insertions(+) (limited to 'Hotline/HotlineApp.swift') 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 { -- cgit