From f71c4cae3b21db506573bcdfa9fdb6cde41cc0ca Mon Sep 17 00:00:00 2001 From: Dustin Mierau Date: Tue, 12 Dec 2023 12:58:38 -0800 Subject: Moved to new client/model separation so client can be used in other projects. Some UI tweaks. --- Hotline/Views/ChatView.swift | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'Hotline/Views/ChatView.swift') 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())) } -- cgit