Add settings keyboard shortcut to v1.0.0

This commit is contained in:
Maddin committed 2026-10-31 20:07:01 +01:00
1 parent 8239c2f6bc
commit 840811a2cd
2 files changed
+5

No files matched your search

@@ -26,6 +26,10 @@ struct TonuinoManagerApp: App {
}
.commands {
CommandGroup(replacing: .newItem) { }
CommandGroup(replacing: .appSettings) {
Button("Einstellungen…") { model.section = .settings }
.keyboardShortcut(",", modifiers: .command)
}
CommandGroup(after: .appInfo) {
Button("Auf Updates prüfen…") { AppDelegate.updater?.checkForUpdates(nil) }
.disabled(AppDelegate.updater?.updater.canCheckForUpdates != true)