From f8bd3452cd4b357858d882b1d9d4d34d0765cd14 Mon Sep 17 00:00:00 2001 From: Mahdi Hosseini Date: Fri, 22 Mar 2024 16:49:58 +0330 Subject: [PATCH] Fix #220 and #193 --- .../HandyControls/ThemeManager/ThemeManager.cs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/Shared/HandyControl_Shared/HandyControls/ThemeManager/ThemeManager.cs b/src/Shared/HandyControl_Shared/HandyControls/ThemeManager/ThemeManager.cs index de95200a..a92c4a3b 100644 --- a/src/Shared/HandyControl_Shared/HandyControls/ThemeManager/ThemeManager.cs +++ b/src/Shared/HandyControl_Shared/HandyControls/ThemeManager/ThemeManager.cs @@ -316,6 +316,7 @@ private static void OnRequestedAccentColorChanged(DependencyObject d, Dependency { ctl.Resources["PrimaryBrush"] = e.NewValue; ctl.Resources["DarkPrimaryBrush"] = e.NewValue; + ctl.Resources["TitleBrush"] = e.NewValue; } } @@ -346,6 +347,7 @@ private void applyAccentColor(object Value) { Application.Current.Resources["PrimaryBrush"] = Value; Application.Current.Resources["DarkPrimaryBrush"] = Value; + Application.Current.Resources["TitleBrush"] = Value; } #endregion