diff options
author | Aditya Mangalampalli <aditya.mangalampalli@gmail.com> | 2022-04-15 02:00:25 -0700 |
---|---|---|
committer | Vijay A <vraravam@users.noreply.github.com> | 2022-04-16 21:57:57 +0530 |
commit | 210131ca184c3aa043371857c022aa1aa149efbf (patch) | |
tree | 6bc4e10a1540e55a66146c099bc468a12287425e /src/webview/notifications.ts | |
parent | Update submodule url to ferdium-recipes (#1) (diff) | |
download | ferdium-app-210131ca184c3aa043371857c022aa1aa149efbf.tar.gz ferdium-app-210131ca184c3aa043371857c022aa1aa149efbf.tar.zst ferdium-app-210131ca184c3aa043371857c022aa1aa149efbf.zip |
Matched casing for almost all replacements
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(); |