Post

Replies

Boosts

Views

Activity

Reply to quickLookPreview keyboard issues on macOS
CommandGroup(after: .sidebar) { Button("Quicklook") { guard activeViewModel != nil else { return } activeViewModel?.extractForQuicklook() } .keyboardShortcut(.space, modifiers: []) // FIXME: This doesn't work if it's .space, but does work if it's "a" .disabled(activeViewModel?.selectedEntries.count == 0) Divider() } This is how I'm trying to set Space as the keyboard shortcut.
Jun ’24