Skip to content

Commit b63c4eb

Browse files
committed
Revert SettingsChanges to SettingsChange for backwards compatibility
1 parent f531a46 commit b63c4eb

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

Flow.Launcher.Core/Plugin/JsonPRCModel.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ public record JsonRPCErrorModel(int Code, string Message, string Data);
2525
public record JsonRPCResponseModel(int Id, JsonRPCErrorModel Error = default) : JsonRPCBase(Id, Error);
2626
public record JsonRPCQueryResponseModel(int Id,
2727
[property: JsonPropertyName("result")] List<JsonRPCResult> Result,
28-
IReadOnlyDictionary<string, object> SettingsChanges = null,
28+
IReadOnlyDictionary<string, object> SettingsChange = null,
2929
string DebugMessage = "",
3030
JsonRPCErrorModel Error = default) : JsonRPCResponseModel(Id, Error);
3131

Flow.Launcher.Core/Plugin/JsonRPCPluginBase.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ protected List<Result> ParseResults(JsonRPCQueryResponseModel queryResponseModel
9494

9595
results.AddRange(queryResponseModel.Result);
9696

97-
Settings?.UpdateSettings(queryResponseModel.SettingsChanges);
97+
Settings?.UpdateSettings(queryResponseModel.SettingsChange);
9898

9999
return results;
100100
}

0 commit comments

Comments
 (0)