aboutsummaryrefslogtreecommitdiff
path: root/Hotline/Views/HotlineView.swift
diff options
context:
space:
mode:
authorDustin Mierau <dustin@mierau.me>2023-12-05 15:57:27 -0800
committerDustin Mierau <dustin@mierau.me>2023-12-05 15:57:27 -0800
commitb99219f16792be4a06a89f1f32a59f0bf97bba68 (patch)
tree4503d6f8b8c980c073c0e899da014bbffc4f7e94 /Hotline/Views/HotlineView.swift
parentb1a176ba3da2c7cf815084f0f8109008fe763809 (diff)
Experimenting with files.
Diffstat (limited to 'Hotline/Views/HotlineView.swift')
-rw-r--r--Hotline/Views/HotlineView.swift7
1 files changed, 1 insertions, 6 deletions
diff --git a/Hotline/Views/HotlineView.swift b/Hotline/Views/HotlineView.swift
index fe67f79..713691f 100644
--- a/Hotline/Views/HotlineView.swift
+++ b/Hotline/Views/HotlineView.swift
@@ -5,20 +5,15 @@ struct HotlineView: View {
@Environment(HotlineClient.self) private var hotline
@Environment(HotlineTrackerClient.self) private var tracker
- @State private var isTrackerVisible = true
-
var body: some View {
@Bindable var config = appState
NavigationStack {
- ServerView()
+ TrackerView()
}
.sheet(isPresented: $config.agreementPresented) {
AgreementView(text: hotline.agreement!)
}
- .sheet(isPresented: $config.trackerPresented) {
- TrackerView()
- }
}
}