diff options
Diffstat (limited to 'src/webview/notifications.ts')
-rw-r--r-- | src/webview/notifications.ts | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/webview/notifications.ts b/src/webview/notifications.ts index 73124b9a9..5ae99424c 100644 --- a/src/webview/notifications.ts +++ b/src/webview/notifications.ts | |||
@@ -2,7 +2,7 @@ import { ipcRenderer } from 'electron'; | |||
2 | 2 | ||
3 | import { v1 as uuidV1 } from 'uuid'; | 3 | import { v1 as uuidV1 } from 'uuid'; |
4 | 4 | ||
5 | const debug = require('debug')('Ferdi:Notifications'); | 5 | const debug = require('debug')('Ferdium:Notifications'); |
6 | 6 | ||
7 | export class NotificationsHandler { | 7 | export class NotificationsHandler { |
8 | onNotify = (data: { title: string; options: any; notificationId: string }) => | 8 | onNotify = (data: { title: string; options: any; notificationId: string }) => |
@@ -37,7 +37,7 @@ export const notificationsClassDefinition = `(() => { | |||
37 | constructor(title = '', options = {}) { | 37 | constructor(title = '', options = {}) { |
38 | this.title = title; | 38 | this.title = title; |
39 | this.options = options; | 39 | this.options = options; |
40 | window.ferdi.displayNotification(title, options) | 40 | window.ferdium.displayNotification(title, options) |
41 | .then(() => { | 41 | .then(() => { |
42 | if (typeof (this.onClick) === 'function') { | 42 | if (typeof (this.onClick) === 'function') { |
43 | this.onClick(); | 43 | this.onClick(); |