*forgot to stage files on last commit

This commit is contained in:
Boris Makogonyuk
2015-11-10 06:36:08 +01:00
parent 724cb0787d
commit 287e15fddc
9 changed files with 33 additions and 10 deletions

View File

@@ -53,10 +53,11 @@ namespace Wox.Core.Theme
}
}
UserSettingStorage.Instance.Theme = themeName;
UserSettingStorage.Instance.Save();
ResourceMerger.ApplyThemeResource(this);
UserSettingStorage.Instance.Theme = themeName;
UserSettingStorage.Instance.ThemeAccentMode = (int)Application.Current.Resources["WindowsAccentMode"];
UserSettingStorage.Instance.Save();
}
public ResourceDictionary GetResourceDictionary()
@@ -89,7 +90,6 @@ namespace Wox.Core.Theme
Setter[] setters = new Setter[] { fontFamily, fontStyle, fontWeight, fontStretch };
Array.ForEach(new Style[] { resultItemStyle, resultSubItemStyle, resultItemSelectedStyle, resultSubItemSelectedStyle }, o => Array.ForEach(setters, p => o.Setters.Add(p)));
}
return dict;
}