Set a default size for all the detached windows

This commit is contained in:
Stefan Ceriu
2026-03-27 13:52:24 +02:00
committed by Stefan Ceriu
parent e6f269b9f2
commit deaa2727db
@@ -73,6 +73,8 @@ struct Application: App {
.environment(\.openURL, openURLAction(appCoordinator: appCoordinator, windowType: type))
}
}
.defaultSize(width: 400, height: 800)
.windowResizability(.contentSize)
}
private func openURLAction(appCoordinator: AppCoordinatorProtocol, windowType: WindowManagerWindowType?) -> OpenURLAction {