From be64583602880efd1e36ac0f941c635a40b3f328 Mon Sep 17 00:00:00 2001 From: Yusyuriv Date: Fri, 24 May 2024 06:05:01 +0600 Subject: [PATCH] Fix XAML warnings in settings window --- Flow.Launcher/Resources/Controls/ExCard.xaml | 2 +- Flow.Launcher/SettingPages/Views/SettingsPaneTheme.xaml | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/Flow.Launcher/Resources/Controls/ExCard.xaml b/Flow.Launcher/Resources/Controls/ExCard.xaml index dd37d5efe..a70c0f4ea 100644 --- a/Flow.Launcher/Resources/Controls/ExCard.xaml +++ b/Flow.Launcher/Resources/Controls/ExCard.xaml @@ -53,7 +53,7 @@ FontStyle="{TemplateBinding FontStyle}" FontWeight="{TemplateBinding FontWeight}" Foreground="{TemplateBinding Foreground}" - IsChecked="{Binding IsExpanded, Mode=TwoWay, RelativeSource={RelativeSource TemplatedParent}}"> + IsChecked="{Binding IsExpanded, Mode=TwoWay, RelativeSource={RelativeSource AncestorType=Expander}}">