mirror of
https://github.com/microsoft/PowerToys.git
synced 2026-04-07 19:57:07 +02:00
Settingsv2 fix warnings (#2076)
* updating a ton of warnings. * bunch of cleanup * few smaller ones * fixed naming * reversing an oops * adjusting json to use attribute * more json properties
This commit is contained in:
@@ -16,16 +16,16 @@ namespace Microsoft.PowerToys.Settings.UI.Lib
|
||||
|
||||
public PowerPreviewSettings()
|
||||
{
|
||||
this.properties = new PowerPreviewProperties();
|
||||
this.version = "1";
|
||||
this.name = "_unset_";
|
||||
properties = new PowerPreviewProperties();
|
||||
version = "1";
|
||||
name = "_unset_";
|
||||
}
|
||||
|
||||
public PowerPreviewSettings(string ptName)
|
||||
{
|
||||
this.properties = new PowerPreviewProperties();
|
||||
this.version = "1";
|
||||
this.name = ptName;
|
||||
properties = new PowerPreviewProperties();
|
||||
version = "1";
|
||||
name = ptName;
|
||||
}
|
||||
|
||||
public override string ToJsonString()
|
||||
|
||||
Reference in New Issue
Block a user