diff options
| author | Dustin Mierau <dustin@mierau.me> | 2023-12-12 12:58:38 -0800 |
|---|---|---|
| committer | Dustin Mierau <dustin@mierau.me> | 2023-12-12 12:58:38 -0800 |
| commit | f71c4cae3b21db506573bcdfa9fdb6cde41cc0ca (patch) | |
| tree | fb26e9ef242ef390d444264698758b635c77d01c /Hotline/Views/ChatView.swift | |
| parent | 18c4b8643df09be4ce52a4b110ea21ac1ad053fc (diff) | |
Moved to new client/model separation so client can be used in other projects. Some UI tweaks.
Diffstat (limited to 'Hotline/Views/ChatView.swift')
| -rw-r--r-- | Hotline/Views/ChatView.swift | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/Hotline/Views/ChatView.swift b/Hotline/Views/ChatView.swift index ce3942e..60951c3 100644 --- a/Hotline/Views/ChatView.swift +++ b/Hotline/Views/ChatView.swift @@ -7,7 +7,6 @@ extension View { } struct ChatView: View { -// @Environment(HotlineClient.self) private var hotline @Environment(Hotline.self) private var model: Hotline @Environment(\.colorScheme) var colorScheme @@ -180,5 +179,5 @@ struct ChatView: View { #Preview { ChatView() - .environment(Hotline(trackerClient: HotlineTrackerClient(), client: HotlineNewClient())) + .environment(Hotline(trackerClient: HotlineTrackerClient(), client: HotlineClient())) } |