Add window default size

This commit is contained in:
Thomas Ricouard 2024-01-13 15:50:20 +01:00
parent 27da37e9ec
commit a737c61d15

View file

@ -49,6 +49,11 @@ extension IceCubesApp {
}
.withModelContainer()
}
#if targetEnvironment(macCatalyst)
.defaultSize(width: userPreferences.showiPadSecondaryColumn ? 1100 : 800, height: 1400)
#elseif os(visionOS)
.defaultSize(width: 800, height: 1200)
#endif
.commands {
appMenu
}