Catalyst: Fix window size

This commit is contained in:
Thomas Ricouard 2024-09-11 21:48:03 +02:00
parent 9d5d341764
commit 698edc4d58

View file

@ -58,7 +58,7 @@ extension IceCubesApp {
.withModelContainer() .withModelContainer()
} }
#if targetEnvironment(macCatalyst) #if targetEnvironment(macCatalyst)
.defaultSize(width: userPreferences.showiPadSecondaryColumn ? 1100 : 800, height: 1400) .windowResizability(.contentSize)
#elseif os(visionOS) #elseif os(visionOS)
.defaultSize(width: 800, height: 1200) .defaultSize(width: 800, height: 1200)
#endif #endif