From 471546236b8991f61d26c0e3aa8ee48b83b983af Mon Sep 17 00:00:00 2001 From: Dustin Mierau Date: Mon, 4 Dec 2023 09:12:58 -0800 Subject: Starting to hash out a server view and tabs. Added research pdfs. etc. --- Hotline/Views/HotlineView.swift | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 Hotline/Views/HotlineView.swift (limited to 'Hotline/Views/HotlineView.swift') 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"))) +} -- cgit