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
+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)