diff options
Diffstat (limited to 'Hotline/Views/FilesView.swift')
| -rw-r--r-- | Hotline/Views/FilesView.swift | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/Hotline/Views/FilesView.swift b/Hotline/Views/FilesView.swift index 11db93c..23b19b1 100644 --- a/Hotline/Views/FilesView.swift +++ b/Hotline/Views/FilesView.swift @@ -2,7 +2,6 @@ import SwiftUI import UniformTypeIdentifiers struct FileView: View { -// @Environment(HotlineClient.self) private var hotline @Environment(Hotline.self) private var model: Hotline @State var expanded = false @@ -84,7 +83,6 @@ struct FileView: View { } struct FilesView: View { -// @Environment(HotlineClient.self) private var hotline @Environment(Hotline.self) private var model: Hotline @State var initialLoad = false @@ -125,5 +123,5 @@ struct FilesView: View { #Preview { FilesView() - .environment(HotlineClient()) + .environment(Hotline(trackerClient: HotlineTrackerClient(), client: HotlineClient())) } |