mirror of
https://github.com/neon443/ShhShell.git
synced 2026-11-30 20:54:51 +00:00
tiny change
This commit is contained in:
2 files changed
+19
-17
No files matched your search
@@ -46,24 +46,26 @@ struct KeyDetailView: View {
|
|||||||
.buttonStyle(.plain)
|
.buttonStyle(.plain)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
Menu() {
|
if !hostsManager.hosts.isEmpty {
|
||||||
ForEach(hostsManager.hostsNotUsing(key: keypair)) { host in
|
Menu() {
|
||||||
Button() {
|
ForEach(hostsManager.hostsNotUsing(key: keypair)) { host in
|
||||||
hostsManager.set(keypair: keypair, onHost: host)
|
Button() {
|
||||||
} label: {
|
hostsManager.set(keypair: keypair, onHost: host)
|
||||||
host.symbol.image
|
} label: {
|
||||||
.resizable().scaledToFit()
|
host.symbol.image
|
||||||
.foregroundStyle(.blue)
|
.resizable().scaledToFit()
|
||||||
.frame(width: 20, height: 20)
|
.foregroundStyle(.blue)
|
||||||
Text(host.description)
|
.frame(width: 20, height: 20)
|
||||||
.foregroundStyle(.blue)
|
Text(host.description)
|
||||||
|
.foregroundStyle(.blue)
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
} label: {
|
||||||
|
Image(systemName: "plus.circle.fill")
|
||||||
|
.symbolRenderingMode(.multicolor)
|
||||||
|
Text("Add")
|
||||||
|
.foregroundStyle(.green)
|
||||||
}
|
}
|
||||||
} label: {
|
|
||||||
Image(systemName: "plus.circle.fill")
|
|
||||||
.symbolRenderingMode(.multicolor)
|
|
||||||
Text("Add")
|
|
||||||
.foregroundStyle(.green)
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
+1
-1
Submodule SwiftTerm updated: cdace6f038...3ed94f8117.