mirror of
https://github.com/ElectronNET/Electron.NET.git
synced 2026-02-13 21:24:00 +00:00
fix: removed useless attribute
This commit is contained in:
@@ -104,7 +104,7 @@ namespace ElectronNET.API
|
||||
BridgeConnector.Socket.On<JsonElement>("NotificationEventAction", (args) =>
|
||||
{
|
||||
var arguments = JsonSerializer.Deserialize<string[]>(args, Serialization.ElectronJson.Options);
|
||||
_notificationOptions.Single(x => x.ReplyID == arguments[0]).OnAction(arguments[1]);
|
||||
_notificationOptions.Single(x => x.ActionID == arguments[0]).OnAction(arguments[1]);
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user