mirror of
https://github.com/microsoft/PowerToys.git
synced 2025-06-11 12:14:53 +08:00
updated general settings model
This commit is contained in:
parent
f1951d0d5f
commit
8c465d22e0
@ -19,6 +19,17 @@ namespace Microsoft.PowerToys.Settings.UI.ViewModels
|
|||||||
public string system_theme { get; set; }
|
public string system_theme { get; set; }
|
||||||
public string powertoys_version { get; set; }
|
public string powertoys_version { get; set; }
|
||||||
|
|
||||||
|
public GeneralSettings()
|
||||||
|
{
|
||||||
|
this.packaged = false;
|
||||||
|
this.startup = false;
|
||||||
|
this.is_admin = false;
|
||||||
|
this.is_elevated = false;
|
||||||
|
this.theme = "system";
|
||||||
|
this.system_theme = "light";
|
||||||
|
this.powertoys_version = "v0.15.3";
|
||||||
|
}
|
||||||
|
|
||||||
public override string ToString()
|
public override string ToString()
|
||||||
{
|
{
|
||||||
return JsonSerializer.Serialize(this);
|
return JsonSerializer.Serialize(this);
|
||||||
|
Loading…
Reference in New Issue
Block a user