mirror of
https://github.com/Novaloop-AG/element-x-ios.git
synced 2026-11-03 06:55:59 +00:00
Set a default size for all the detached windows
This commit is contained in:
committed by
Stefan Ceriu
parent
e6f269b9f2
commit
deaa2727db
@@ -73,6 +73,8 @@ struct Application: App {
|
|||||||
.environment(\.openURL, openURLAction(appCoordinator: appCoordinator, windowType: type))
|
.environment(\.openURL, openURLAction(appCoordinator: appCoordinator, windowType: type))
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
.defaultSize(width: 400, height: 800)
|
||||||
|
.windowResizability(.contentSize)
|
||||||
}
|
}
|
||||||
|
|
||||||
private func openURLAction(appCoordinator: AppCoordinatorProtocol, windowType: WindowManagerWindowType?) -> OpenURLAction {
|
private func openURLAction(appCoordinator: AppCoordinatorProtocol, windowType: WindowManagerWindowType?) -> OpenURLAction {
|
||||||
|
|||||||
Reference in New Issue
Block a user