tiny change

This commit is contained in:
neon443 committed 2026-05-03 09:53:19 +01:00
1 parent 19c1cd4688
commit ccb12351b3
2 files changed
+3 -1

No files matched your search

+2
View File
@@ -46,6 +46,7 @@ struct KeyDetailView: View {
.buttonStyle(.plain) .buttonStyle(.plain)
} }
} }
if !hostsManager.hosts.isEmpty {
Menu() { Menu() {
ForEach(hostsManager.hostsNotUsing(key: keypair)) { host in ForEach(hostsManager.hostsNotUsing(key: keypair)) { host in
Button() { Button() {
@@ -66,6 +67,7 @@ struct KeyDetailView: View {
.foregroundStyle(.green) .foregroundStyle(.green)
} }
} }
}
Section() { Section() {
TextBox(label: "Name", text: $keyname, prompt: "A name for your key") TextBox(label: "Name", text: $keyname, prompt: "A name for your key")
Reference in new issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.