added the abitliy to opt out of pinyin in control panel and in program plug in - this give a major perf boost (and I'm guessing it is not relevant for most users)

This commit is contained in:
AT
2019-10-20 22:15:24 +03:00
parent a3ba2276e2
commit 8ee8f2c085
19 changed files with 149 additions and 26 deletions

View File

@@ -0,0 +1,22 @@
namespace Wox.Plugin.ControlPanel
{
public class ControlPanelSettingsViewModel : BaseModel
{
private readonly Settings _settings;
public ControlPanelSettingsViewModel(Settings settings)
{
_settings = settings;
}
public bool ShouldUsePinYin
{
get { return _settings.ShouldUsePinYin; }
set
{
_settings.ShouldUsePinYin = value;
this.OnPropertyChanged();
}
}
}
}