fix: missing "Once" changes, rollback to "On" on Notification

This commit is contained in:
Denny09310
2025-11-10 11:27:32 +01:00
parent adc1e81743
commit 9a0a494bc5
2 changed files with 5 additions and 5 deletions

View File

@@ -62,7 +62,7 @@ namespace ElectronNET.API
isActionDefined = true;
BridgeConnector.Socket.Off("NotificationEventShow");
BridgeConnector.Socket.Once<string>("NotificationEventShow", (id) => { _notificationOptions.Single(x => x.ShowID == id).OnShow(); });
BridgeConnector.Socket.On<string>("NotificationEventShow", (id) => { _notificationOptions.Single(x => x.ShowID == id).OnShow(); });
}
if (notificationOptions.OnClick != null)