Set StarDefinitionsCanExceedAvailableSpace switch to fix the crash (#31022)

This commit is contained in:
Stefan Markovic 2024-01-18 18:16:20 +01:00 committed by GitHub
parent f07c2314a9
commit c25232833b
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -55,6 +55,10 @@ namespace PowerLauncher
_viewModel = mainVM;
_nativeWaiterCancelToken = nativeWaiterCancelToken;
_settings = settings;
// Fixes #30850
AppContext.SetSwitch("Switch.System.Windows.Controls.Grid.StarDefinitionsCanExceedAvailableSpace", true);
InitializeComponent();
if (OSVersionHelper.IsWindows11())