Hook up the settings screen

This commit is contained in:
Stefan Ceriu
2026-03-27 13:52:09 +02:00
committed by Stefan Ceriu
parent 35198460ce
commit e6f269b9f2
3 changed files with 28 additions and 8 deletions
@@ -55,6 +55,14 @@ struct Application: App {
}
}
.handlesExternalEvents(matching: ["*"])
.commands {
CommandGroup(replacing: .appSettings) {
Button(L10n.commonSettings) {
appCoordinator.handleAppRoute(.settings, windowType: nil)
}
.keyboardShortcut(",", modifiers: .command)
}
}
// This is invoked in response of the WindowManager receiving a register
// coordinator request and invoking the `OpenWindowAction` with which