From 1712cd6c8a02a79a0f5fdb37d7ccecc972aac335 Mon Sep 17 00:00:00 2001 From: Laszlo Nemeth <57342539+donlaci@users.noreply.github.com> Date: Thu, 4 Jan 2024 18:58:27 +0100 Subject: [PATCH] [Hosts] Fix jsonProperty (#30741) --- src/settings-ui/Settings.UI.Library/HostsSettings.cs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/settings-ui/Settings.UI.Library/HostsSettings.cs b/src/settings-ui/Settings.UI.Library/HostsSettings.cs index 853638cba2..5e15a7e664 100644 --- a/src/settings-ui/Settings.UI.Library/HostsSettings.cs +++ b/src/settings-ui/Settings.UI.Library/HostsSettings.cs @@ -13,13 +13,12 @@ namespace Microsoft.PowerToys.Settings.UI.Library { public const string ModuleName = "Hosts"; - [JsonPropertyName("properties")] - private static readonly JsonSerializerOptions _serializerOptions = new JsonSerializerOptions { WriteIndented = true, }; + [JsonPropertyName("properties")] public HostsProperties Properties { get; set; } public HostsSettings()