mirror of
https://github.com/Novaloop-AG/element-x-ios.git
synced 2026-11-03 06:55:59 +00:00
Disable creating new windows (duplicates)
This commit is contained in:
committed by
Stefan Ceriu
parent
c3a79cd9f2
commit
2277d0deae
@@ -58,6 +58,11 @@ struct Application: App {
|
||||
}
|
||||
.handlesExternalEvents(matching: ["*"])
|
||||
.commands {
|
||||
CommandGroup(replacing: .newItem) {
|
||||
Button(L10n.actionStartChat) { }
|
||||
.disabled(true)
|
||||
}
|
||||
|
||||
CommandGroup(replacing: .appSettings) {
|
||||
Button(L10n.commonSettings) {
|
||||
appCoordinator.handleAppRoute(.settings, windowType: nil)
|
||||
|
||||
Reference in New Issue
Block a user