Fix command palette Open Settings action routing

This commit is contained in:
Lawrence Chen 2026-02-24 21:07:37 -08:00
parent 566eda80b5
commit cc06fb84e3
4 changed files with 68 additions and 4 deletions

View file

@ -3923,7 +3923,7 @@ struct ContentView: View {
AppDelegate.shared?.jumpToLatestUnread()
}
registry.register(commandId: "palette.openSettings") {
NSApp.sendAction(Selector(("showSettingsWindow:")), to: nil, from: nil)
AppDelegate.presentPreferencesWindow()
}
registry.register(commandId: "palette.checkForUpdates") {
AppDelegate.shared?.checkForUpdates(nil)