From f01ea6a8a11c8750cc5c72a9be5a0867709834a5 Mon Sep 17 00:00:00 2001 From: Max Katz Date: Fri, 6 Jan 2023 02:26:41 -0500 Subject: [PATCH] Fix control catalog on mobile --- samples/ControlCatalog/MainView.xaml.cs | 1 + 1 file changed, 1 insertion(+) diff --git a/samples/ControlCatalog/MainView.xaml.cs b/samples/ControlCatalog/MainView.xaml.cs index ecd9d0bf52..8c8be2638e 100644 --- a/samples/ControlCatalog/MainView.xaml.cs +++ b/samples/ControlCatalog/MainView.xaml.cs @@ -107,6 +107,7 @@ namespace ControlCatalog decorations.SelectedIndex = (int)window.SystemDecorations; _platformSettings.ColorValuesChanged += PlatformSettingsOnColorValuesChanged; + PlatformSettingsOnColorValuesChanged(_platformSettings, _platformSettings.GetColorValues()); } protected override void OnDetachedFromLogicalTree(LogicalTreeAttachmentEventArgs e)