aboutsummaryrefslogtreecommitdiff
path: root/Hotline/Views/HotlineView.swift
blob: f950dd781499971b9ea532ce2c02e61499968612 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
import SwiftUI

struct HotlineView: View {
  @Environment(HotlineState.self) private var appState
  @Environment(HotlineClient.self) private var hotline
  @Environment(HotlineTrackerClient.self) private var tracker
  
  var body: some View {
    TrackerView()
  }
}

#Preview {
  HotlineView()
    .environment(HotlineClient())
    .environment(HotlineTrackerClient(tracker: HotlineTracker("hltracker.com")))
}