mirror of
https://github.com/Novaloop-AG/element-x-ios.git
synced 2026-11-03 16:10:20 +00:00
Move the global search shortcut to application commands so it's more reliable with multiple windows
This commit is contained in:
committed by
Stefan Ceriu
parent
d4e3b11486
commit
a010306b41
@@ -64,6 +64,13 @@ struct Application: App {
|
||||
}
|
||||
.keyboardShortcut(",", modifiers: .command)
|
||||
}
|
||||
|
||||
CommandGroup(after: .windowArrangement) {
|
||||
Button("Global Search") {
|
||||
appCoordinator.handleAppRoute(.globalSearch, windowType: nil)
|
||||
}
|
||||
.keyboardShortcut("k", modifiers: [.command])
|
||||
}
|
||||
}
|
||||
|
||||
// This is invoked in response of the WindowManager receiving a register
|
||||
|
||||
Reference in New Issue
Block a user