aboutsummaryrefslogtreecommitdiff
path: root/Hotline/Views/TrackerView.swift
diff options
context:
space:
mode:
Diffstat (limited to 'Hotline/Views/TrackerView.swift')
-rw-r--r--Hotline/Views/TrackerView.swift6
1 files changed, 4 insertions, 2 deletions
diff --git a/Hotline/Views/TrackerView.swift b/Hotline/Views/TrackerView.swift
index c8d0f2e..1c61cf4 100644
--- a/Hotline/Views/TrackerView.swift
+++ b/Hotline/Views/TrackerView.swift
@@ -7,9 +7,12 @@ struct TrackerView: View {
@Environment(HotlineState.self) private var appState
@Environment(HotlineClient.self) private var hotline
- @Environment(HotlineTrackerClient.self) private var tracker
+ @Environment(HotlineTrackerClient.self) private var trackerClient
+ @Environment(Hotline.self) private var model: Hotline
@Environment(\.colorScheme) var colorScheme
+// @State private var tracker = Tracker(address: "hltracker.com", service: trackerService)
+
@State private var selectedServer: HotlineServer?
@State var scrollOffset: CGFloat = CGFloat.zero
@@ -32,7 +35,6 @@ struct TrackerView: View {
case .loggingIn:
return 0.5
case .loggedIn:
-
return 1.0
}
}