Skip to content

Commit dd465ba

Browse files
committed
notification.ts: Fix notificationIsSupported
It's a method, was used like a property
1 parent 0421095 commit dd465ba

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

src/ElectronNET.Host/api/notification.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/ElectronNET.Host/api/notification.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/ElectronNET.Host/api/notification.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ export = (socket: Socket) => {
5252
});
5353

5454
socket.on('notificationIsSupported', () => {
55-
const isSupported = Notification.isSupported;
55+
const isSupported = Notification.isSupported();
5656
electronSocket.emit('notificationIsSupportedComplete', isSupported);
5757
});
5858
};

0 commit comments

Comments
 (0)