mirror of
https://github.com/microsoft/PowerToys.git
synced 2026-04-06 19:26:39 +02:00
Fix crash issues when deserialize failed
This commit is contained in:
@@ -153,7 +153,7 @@ namespace Wox.Infrastructure.Storage.UserSettings
|
||||
{
|
||||
DontPromptUpdateMsg = false;
|
||||
Theme = "Dark";
|
||||
Language = "English";
|
||||
Language = "en";
|
||||
ReplaceWinR = true;
|
||||
WebSearches = LoadDefaultWebSearches();
|
||||
ProgramSources = new List<ProgramSource>();
|
||||
@@ -189,7 +189,7 @@ namespace Wox.Infrastructure.Storage.UserSettings
|
||||
}
|
||||
if (storage.Language == null)
|
||||
{
|
||||
storage.Language = "English";
|
||||
storage.Language = "en";
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user