Skip to content

Commit

Permalink
Fix #220 and #193
Browse files Browse the repository at this point in the history
  • Loading branch information
ghost1372 committed Mar 22, 2024
1 parent 75c3def commit f8bd345
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
}

Expand Down Expand Up @@ -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
Expand Down

0 comments on commit f8bd345

Please sign in to comment.