Fixing json property name to match with the settings file (#28189)

This commit is contained in:
Laszlo Nemeth 2023-08-29 13:21:52 +02:00 committed by GitHub
parent ddefc27fd7
commit 2e74b5dae8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -3,6 +3,7 @@
// See the LICENSE file in the project root for more information.
using System.Text.Json;
using System.Text.Json.Serialization;
using Microsoft.PowerToys.Settings.UI.Library.Interfaces;
namespace Microsoft.PowerToys.Settings.UI.Library
@ -14,6 +15,7 @@ namespace Microsoft.PowerToys.Settings.UI.Library
ExtendedContextMenuOnly = false;
}
[JsonPropertyName("showInExtendedContextMenu")]
public bool ExtendedContextMenuOnly { get; set; }
public string ToJsonString()