19 lines
471 B
Swift
19 lines
471 B
Swift
|
|
import SwiftUI
|
||
|
|
|
||
|
|
/// Root navigation. Tabs: Presence (the live feed) and Connections.
|
||
|
|
struct ContentView: View {
|
||
|
|
var body: some View {
|
||
|
|
TabView {
|
||
|
|
PresenceView()
|
||
|
|
.tabItem {
|
||
|
|
Label("Present", systemImage: "dot.radiowaves.left.and.right")
|
||
|
|
}
|
||
|
|
|
||
|
|
ConnectionsView()
|
||
|
|
.tabItem {
|
||
|
|
Label("Connections", systemImage: "person.2")
|
||
|
|
}
|
||
|
|
}
|
||
|
|
}
|
||
|
|
}
|