diff options
| author | Dustin Mierau <dustin@mierau.me> | 2023-12-08 16:12:47 -0800 |
|---|---|---|
| committer | Dustin Mierau <dustin@mierau.me> | 2023-12-08 16:13:03 -0800 |
| commit | 84aaa9ef0a1be6986e38d7e4f58e07d3cb84979e (patch) | |
| tree | c0b3a36f14295a921413b7db0f1b37c9ec10e715 /Hotline/HotlineApp.swift | |
| parent | 537ed932a4c8d639089f276e322de4e946b0d26b (diff) | |
Move tracker client to async/await. TrackerView uses Model now. Fix string encodings for MacRoman and japanese.
Diffstat (limited to 'Hotline/HotlineApp.swift')
| -rw-r--r-- | Hotline/HotlineApp.swift | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Hotline/HotlineApp.swift b/Hotline/HotlineApp.swift index 82fa7d4..67397a2 100644 --- a/Hotline/HotlineApp.swift +++ b/Hotline/HotlineApp.swift @@ -18,7 +18,6 @@ struct HotlineApp: App { @State private var appState = HotlineState() @State private var hotline = HotlineClient() - @State private var tracker = HotlineTrackerClient(tracker: HotlineTracker("hltracker.com")) private var model = Hotline(trackerClient: HotlineTrackerClient()) @@ -28,7 +27,8 @@ struct HotlineApp: App { TrackerView() .environment(appState) .environment(hotline) - .environment(tracker) +// .environment(tracker) + .environment(model) } // .modelContainer(sharedModelContainer) } |