mirror of
https://github.com/microsoft/PowerToys.git
synced 2026-04-06 11:16:51 +02:00
fix #185. Loading index cache on startup.
This commit is contained in:
@@ -6,7 +6,7 @@ using Newtonsoft.Json;
|
||||
|
||||
namespace Wox.Infrastructure.Storage.UserSettings
|
||||
{
|
||||
public class UserSettingStorage : BaseStorage<UserSettingStorage>
|
||||
public class UserSettingStorage : JsonStrorage<UserSettingStorage>
|
||||
{
|
||||
[JsonProperty]
|
||||
public bool DontPromptUpdateMsg { get; set; }
|
||||
@@ -146,7 +146,7 @@ namespace Wox.Infrastructure.Storage.UserSettings
|
||||
get { return "config"; }
|
||||
}
|
||||
|
||||
protected override UserSettingStorage LoadDefaultConfig()
|
||||
protected override UserSettingStorage LoadDefault()
|
||||
{
|
||||
DontPromptUpdateMsg = false;
|
||||
Theme = "Dark";
|
||||
@@ -165,7 +165,7 @@ namespace Wox.Infrastructure.Storage.UserSettings
|
||||
return this;
|
||||
}
|
||||
|
||||
protected override void OnAfterLoadConfig(UserSettingStorage storage)
|
||||
protected override void OnAfterLoad(UserSettingStorage storage)
|
||||
{
|
||||
if (storage.CustomizedPluginConfigs == null)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user