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:
@@ -27,6 +27,7 @@ to your work. Click anything to copy it back to your clipboard.
|
|||||||
| Switch/create section | Cmd+K |
|
| Switch/create section | Cmd+K |
|
||||||
| Search | Cmd+F |
|
| Search | Cmd+F |
|
||||||
| Focus composer | Cmd+N |
|
| Focus composer | Cmd+N |
|
||||||
|
| Sync settings | Cmd+, |
|
||||||
| Copy selection as numbered list | Shift+Cmd+C |
|
| Copy selection as numbered list | Shift+Cmd+C |
|
||||||
| Close panel | Esc |
|
| Close panel | Esc |
|
||||||
|
|
||||||
|
|||||||
@@ -495,6 +495,10 @@ struct PanelView: View {
|
|||||||
.keyboardShortcut("k", modifiers: .command)
|
.keyboardShortcut("k", modifiers: .command)
|
||||||
Button("") { focusedField = .composer }
|
Button("") { focusedField = .composer }
|
||||||
.keyboardShortcut("n", modifiers: .command)
|
.keyboardShortcut("n", modifiers: .command)
|
||||||
|
Button("") {
|
||||||
|
withAnimation(.easeInOut(duration: 0.15)) { showSync.toggle() }
|
||||||
|
}
|
||||||
|
.keyboardShortcut(",", modifiers: .command)
|
||||||
Button("") {
|
Button("") {
|
||||||
guard !selection.isEmpty else { return }
|
guard !selection.isEmpty else { return }
|
||||||
store.copyAsList(ids: selection)
|
store.copyAsList(ids: selection)
|
||||||
|
|||||||
Reference in New Issue
Block a user