diff options
| author | Dustin Mierau <dustin@mierau.me> | 2023-12-04 09:12:58 -0800 |
|---|---|---|
| committer | Dustin Mierau <dustin@mierau.me> | 2023-12-04 09:12:58 -0800 |
| commit | 471546236b8991f61d26c0e3aa8ee48b83b983af (patch) | |
| tree | b74331a8c8ea61ee7e1eaedfc7bbd1686bbc4702 /Hotline/Views/HotlineView.swift | |
| parent | 885119acdd27bd53ed3096285c3eca3e2d99ad70 (diff) | |
Starting to hash out a server view and tabs. Added research pdfs. etc.
Diffstat (limited to 'Hotline/Views/HotlineView.swift')
| -rw-r--r-- | Hotline/Views/HotlineView.swift | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/Hotline/Views/HotlineView.swift b/Hotline/Views/HotlineView.swift new file mode 100644 index 0000000..67ef067 --- /dev/null +++ b/Hotline/Views/HotlineView.swift @@ -0,0 +1,20 @@ +import SwiftUI + +struct HotlineView: View { + @Environment(HotlineClient.self) private var hotline + @Environment(HotlineTrackerClient.self) private var tracker + + @State private var isTrackerVisible = false + + var body: some View { + NavigationStack { + TrackerView() + } + } +} + +#Preview { + HotlineView() + .environment(HotlineClient()) + .environment(HotlineTrackerClient(tracker: HotlineTracker("hltracker.com"))) +} |