Add a keyboard route to sync settings

Cmd+, is where macOS users look for settings, and it makes the sync
panel reachable without hunting for the header icon.

💘 Generated with Crush

Assisted-by: Crush:kimi-k3
This commit is contained in:
2026-10-08 10:00:10 +08:00
parent 15ad9f355c
commit 466c49e4b0
2 changed files with 5 additions and 0 deletions
+1
View File
@@ -27,6 +27,7 @@ to your work. Click anything to copy it back to your clipboard.
| Switch/create section | Cmd+K |
| Search | Cmd+F |
| Focus composer | Cmd+N |
| Sync settings | Cmd+, |
| Copy selection as numbered list | Shift+Cmd+C |
| Close panel | Esc |
+4
View File
@@ -495,6 +495,10 @@ struct PanelView: View {
.keyboardShortcut("k", modifiers: .command)
Button("") { focusedField = .composer }
.keyboardShortcut("n", modifiers: .command)
Button("") {
withAnimation(.easeInOut(duration: 0.15)) { showSync.toggle() }
}
.keyboardShortcut(",", modifiers: .command)
Button("") {
guard !selection.isEmpty else { return }
store.copyAsList(ids: selection)