This commit is contained in:
bao-qian
2017-02-28 00:31:46 +00:00
parent 92b636ab75
commit b7ecbd3b51
2 changed files with 0 additions and 3 deletions

View File

@@ -95,7 +95,6 @@ namespace Wox.Core.Resource
{ {
LoadLanguage(language); LoadLanguage(language);
} }
Log.Debug($"|TEST|{Application.Current.Resources.MergedDictionaries.Select(d => d.Source.AbsolutePath).Formatted()}");
UpdatePluginMetadataTranslations(); UpdatePluginMetadataTranslations();
} }

View File

@@ -91,7 +91,6 @@ namespace Wox.Core.Resource
Settings.Theme = theme; Settings.Theme = theme;
var dicts = Application.Current.Resources.MergedDictionaries; var dicts = Application.Current.Resources.MergedDictionaries;
Log.Debug($"|TEST1|{dicts.Select(d => d.Source.AbsolutePath).Formatted()}");
if (_oldTheme != theme) if (_oldTheme != theme)
{ {
dicts.Remove(_oldResource); dicts.Remove(_oldResource);
@@ -100,7 +99,6 @@ namespace Wox.Core.Resource
_oldResource = newResource; _oldResource = newResource;
_oldTheme = Path.GetFileNameWithoutExtension(_oldResource.Source.AbsolutePath); _oldTheme = Path.GetFileNameWithoutExtension(_oldResource.Source.AbsolutePath);
} }
Log.Debug($"|TEST2|{dicts.Select(d => d.Source.AbsolutePath).Formatted()}");
} }
} }