Introduce initial UI for connecting to networks
This commit is contained in:
parent
a757ac7be9
commit
453dd2d116
33 changed files with 1458 additions and 321 deletions
26
Apple/App/BurrowView.swift
Normal file
26
Apple/App/BurrowView.swift
Normal file
|
|
@ -0,0 +1,26 @@
|
|||
import SwiftUI
|
||||
|
||||
struct BurrowView: View {
|
||||
var body: some View {
|
||||
NavigationStack {
|
||||
VStack {
|
||||
NetworkCarouselView()
|
||||
Spacer()
|
||||
TunnelStatusView()
|
||||
TunnelButton()
|
||||
.padding(.bottom)
|
||||
}
|
||||
.padding()
|
||||
.navigationTitle("Networks")
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
#if DEBUG
|
||||
struct NetworkView_Previews: PreviewProvider {
|
||||
static var previews: some View {
|
||||
BurrowView()
|
||||
.environment(\.tunnel, PreviewTunnel())
|
||||
}
|
||||
}
|
||||
#endif
|
||||
Loading…
Add table
Add a link
Reference in a new issue