From 698edc4d588d0d9bff2101216069795a8b109948 Mon Sep 17 00:00:00 2001 From: Thomas Ricouard Date: Wed, 11 Sep 2024 21:48:03 +0200 Subject: [PATCH] Catalyst: Fix window size --- IceCubesApp/App/Main/IceCubesApp+Scene.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/IceCubesApp/App/Main/IceCubesApp+Scene.swift b/IceCubesApp/App/Main/IceCubesApp+Scene.swift index 799d9b29..9bb14eae 100644 --- a/IceCubesApp/App/Main/IceCubesApp+Scene.swift +++ b/IceCubesApp/App/Main/IceCubesApp+Scene.swift @@ -58,7 +58,7 @@ extension IceCubesApp { .withModelContainer() } #if targetEnvironment(macCatalyst) - .defaultSize(width: userPreferences.showiPadSecondaryColumn ? 1100 : 800, height: 1400) + .windowResizability(.contentSize) #elseif os(visionOS) .defaultSize(width: 800, height: 1200) #endif