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.
1 parent 92de64c commit 1e214ebCopy full SHA for 1e214eb
MaterialDesignThemes.Wpf/PaletteHelper.cs
@@ -27,7 +27,7 @@ public virtual void SetLightDark(bool isDark)
27
28
var existingMahAppsResourceDictionary = Application.Current.Resources.MergedDictionaries
29
.Where(rd => rd.Source != null)
30
- .SingleOrDefault(rd => Regex.Match(rd.Source.AbsolutePath, @"(\/MahApps.Metro;component\/Styles\/Accents\/)((BaseLight)|(BaseDark))").Success);
+ .SingleOrDefault(rd => Regex.Match(rd.Source.OriginalString, @"(\/MahApps.Metro;component\/Styles\/Accents\/)((BaseLight)|(BaseDark))").Success);
31
if (existingMahAppsResourceDictionary == null) return;
32
33
source =
0 commit comments