Skip to content

Commit 701e140

Browse files
Arseyclaude
andauthored
Add per-row remove button to trusted clients list (#184)
Removing a single trusted client required a right-click context menu or select-then-Delete, neither of which is discoverable, while bulk removal already had a visible "Remove All" button. Add a visible per-row remove button alongside the existing context menu. Claude-Session: https://claude.ai/code/session_01QLDiNzrDds62dnD9NoCEJV Co-authored-by: Claude Sonnet 5 <noreply@anthropic.com>
1 parent 3165069 commit 701e140

1 file changed

Lines changed: 8 additions & 0 deletions

File tree

App/Views/SettingsView.swift

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -110,6 +110,14 @@ struct GeneralSettingsView: View {
110110
Text(client)
111111
.font(.system(.body, design: .monospaced))
112112
Spacer()
113+
Button {
114+
serverController.removeTrustedClient(client)
115+
} label: {
116+
Image(systemName: "xmark.circle.fill")
117+
.foregroundStyle(.secondary)
118+
}
119+
.buttonStyle(.plain)
120+
.help("Remove Client")
113121
}
114122
.contextMenu {
115123
Button("Remove Client", role: .destructive) {

0 commit comments

Comments
 (0)