mirror of
https://github.com/Novaloop-AG/element-x-ios.git
synced 2026-11-04 01:20:12 +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: ["*"])
|
.handlesExternalEvents(matching: ["*"])
|
||||||
.commands {
|
.commands {
|
||||||
|
CommandGroup(replacing: .newItem) {
|
||||||
|
Button(L10n.actionStartChat) { }
|
||||||
|
.disabled(true)
|
||||||
|
}
|
||||||
|
|
||||||
CommandGroup(replacing: .appSettings) {
|
CommandGroup(replacing: .appSettings) {
|
||||||
Button(L10n.commonSettings) {
|
Button(L10n.commonSettings) {
|
||||||
appCoordinator.handleAppRoute(.settings, windowType: nil)
|
appCoordinator.handleAppRoute(.settings, windowType: nil)
|
||||||
|
|||||||
Reference in New Issue
Block a user