aboutsummaryrefslogtreecommitdiffstats
path: root/src/webview/notifications.ts
diff options
context:
space:
mode:
authorLibravatar Aditya Mangalampalli <aditya.mangalampalli@gmail.com>2022-04-15 02:00:25 -0700
committerLibravatar Vijay A <vraravam@users.noreply.github.com>2022-04-16 21:57:57 +0530
commit210131ca184c3aa043371857c022aa1aa149efbf (patch)
tree6bc4e10a1540e55a66146c099bc468a12287425e /src/webview/notifications.ts
parentUpdate submodule url to ferdium-recipes (#1) (diff)
downloadferdium-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.ts4
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
3import { v1 as uuidV1 } from 'uuid'; 3import { v1 as uuidV1 } from 'uuid';
4 4
5const debug = require('debug')('Ferdi:Notifications'); 5const debug = require('debug')('Ferdium:Notifications');
6 6
7export class NotificationsHandler { 7export 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();