Skip to content

Commit ba9aba2

Browse files
committed
Allow new setting keys to be instantiated
1 parent 388688e commit ba9aba2

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

Flow.Launcher.Core/Plugin/JsonRPCPluginSettings.cs

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -63,10 +63,7 @@ public void UpdateSettings(IReadOnlyDictionary<string, object> settings)
6363

6464
foreach (var (key, value) in settings)
6565
{
66-
if (Settings.ContainsKey(key))
67-
{
68-
Settings[key] = value;
69-
}
66+
Settings[key] = value;
7067

7168
if (SettingControls.TryGetValue(key, out var control))
7269
{

0 commit comments

Comments
 (0)