From 2e74b5dae8493e1d7fddd6ab03efa338e05b190b Mon Sep 17 00:00:00 2001 From: Laszlo Nemeth <57342539+donlaci@users.noreply.github.com> Date: Tue, 29 Aug 2023 13:21:52 +0200 Subject: [PATCH] Fixing json property name to match with the settings file (#28189) --- .../Settings.UI.Library/FileLocksmithLocalProperties.cs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/settings-ui/Settings.UI.Library/FileLocksmithLocalProperties.cs b/src/settings-ui/Settings.UI.Library/FileLocksmithLocalProperties.cs index 61f6864872..f998e5b4dd 100644 --- a/src/settings-ui/Settings.UI.Library/FileLocksmithLocalProperties.cs +++ b/src/settings-ui/Settings.UI.Library/FileLocksmithLocalProperties.cs @@ -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()