mirror of
https://github.com/Novaloop-AG/element-x-ios.git
synced 2026-11-02 21:06:00 +00:00
Use different auxiliary window sizes on mac vs iPad
This commit is contained in:
committed by
Stefan Ceriu
parent
3b858a4073
commit
c3a79cd9f2
@@ -82,7 +82,7 @@ struct Application: App {
|
||||
.environment(\.openURL, openURLAction(appCoordinator: appCoordinator, windowType: type))
|
||||
}
|
||||
}
|
||||
.defaultSize(width: 400, height: 800)
|
||||
.defaultSize(width: ProcessInfo.processInfo.isiOSAppOnMac ? 600 : 400, height: 800)
|
||||
.windowResizability(.contentSize)
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user