Update settings config.

This commit is contained in:
Den Delimarsky
2021-05-02 10:29:50 -07:00
parent 485c15e981
commit 15df1a2f1d
5 changed files with 117 additions and 3 deletions

View File

@@ -63,6 +63,22 @@ namespace Microsoft.PowerToys.Settings.UI.Library.ViewModels
}
}
public EspressoMode Mode
{
get => _mode;
set
{
if (_mode != value)
{
_mode = value;
OnPropertyChanged(nameof(Mode));
Settings.Properties.Mode = value;
NotifyPropertyChanged();
}
}
}
public bool KeepDisplayOn
{
get => _keepDisplayOn;