ui: fold remote mode label into picker
This commit is contained in:
@@ -95,10 +95,7 @@ var body: some View {
|
|||||||
|
|
||||||
private var connectionSection: some View {
|
private var connectionSection: some View {
|
||||||
VStack(alignment: .leading, spacing: 8) {
|
VStack(alignment: .leading, spacing: 8) {
|
||||||
Text("Clawdis runs")
|
Picker("Clawdis runs", selection: self.$state.connectionMode) {
|
||||||
.font(.callout.weight(.semibold))
|
|
||||||
|
|
||||||
Picker("Mode", selection: self.$state.connectionMode) {
|
|
||||||
Text("Local (this Mac)").tag(AppState.ConnectionMode.local)
|
Text("Local (this Mac)").tag(AppState.ConnectionMode.local)
|
||||||
Text("Remote over SSH").tag(AppState.ConnectionMode.remote)
|
Text("Remote over SSH").tag(AppState.ConnectionMode.remote)
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user