mirror of
https://github.com/microsoft/PowerToys.git
synced 2025-12-16 19:57:57 +01:00
Fixing json property name to match with the settings file (#28189)
This commit is contained in:
@@ -3,6 +3,7 @@
|
|||||||
// See the LICENSE file in the project root for more information.
|
// See the LICENSE file in the project root for more information.
|
||||||
|
|
||||||
using System.Text.Json;
|
using System.Text.Json;
|
||||||
|
using System.Text.Json.Serialization;
|
||||||
using Microsoft.PowerToys.Settings.UI.Library.Interfaces;
|
using Microsoft.PowerToys.Settings.UI.Library.Interfaces;
|
||||||
|
|
||||||
namespace Microsoft.PowerToys.Settings.UI.Library
|
namespace Microsoft.PowerToys.Settings.UI.Library
|
||||||
@@ -14,6 +15,7 @@ namespace Microsoft.PowerToys.Settings.UI.Library
|
|||||||
ExtendedContextMenuOnly = false;
|
ExtendedContextMenuOnly = false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
[JsonPropertyName("showInExtendedContextMenu")]
|
||||||
public bool ExtendedContextMenuOnly { get; set; }
|
public bool ExtendedContextMenuOnly { get; set; }
|
||||||
|
|
||||||
public string ToJsonString()
|
public string ToJsonString()
|
||||||
|
|||||||
Reference in New Issue
Block a user