This commit is contained in:
theolivenbaum
2021-07-12 21:33:35 +02:00
parent e6214491cf
commit b03bc7c9eb
14 changed files with 64 additions and 110 deletions

View File

@@ -127,7 +127,7 @@ namespace ElectronNET.API
BridgeConnector.On<bool>("notificationIsSupportedComplete", (isSupported) =>
{
BridgeConnector.Off("notificationIsSupportedComplete");
taskCompletionSource.SetResult((bool)isSupported);
taskCompletionSource.SetResult(isSupported);
});
BridgeConnector.Emit("notificationIsSupported");