We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents b079aa3 + 8498a15 commit 85061c4Copy full SHA for 85061c4
Flow.Launcher.Core/Resource/Theme.cs
@@ -85,10 +85,13 @@ public bool ChangeTheme(string theme)
85
86
Settings.Theme = theme;
87
88
+ // reload all resources even if the theme itself hasn't changed in order to pickup changes
89
+ // to things like fonts
90
+ UpdateResourceDictionary(GetResourceDictionary());
91
+
92
//always allow re-loading default theme, in case of failure of switching to a new theme from default theme
93
if (_oldTheme != theme || theme == defaultTheme)
94
{
- UpdateResourceDictionary(GetResourceDictionary());
95
_oldTheme = Path.GetFileNameWithoutExtension(_oldResource.Source.AbsolutePath);
96
}
97
0 commit comments