aboutsummaryrefslogtreecommitdiffstats
path: root/src/webview/notifications.ts
diff options
context:
space:
mode:
authorLibravatar Willy Woitas <dutscher_sbf@hotmail.com>2024-02-18 01:49:42 +0100
committerLibravatar GitHub <noreply@github.com>2024-02-18 06:19:42 +0530
commit315728415b2269981a04ee51af7ef18412d7bf70 (patch)
tree1ee3e41e7022fa376b99bff5413eb6119481b839 /src/webview/notifications.ts
parent6.7.1-nightly.20 [skip ci] (diff)
downloadferdium-app-315728415b2269981a04ee51af7ef18412d7bf70.tar.gz
ferdium-app-315728415b2269981a04ee51af7ef18412d7bf70.tar.zst
ferdium-app-315728415b2269981a04ee51af7ef18412d7bf70.zip
feat: Parse 2FA SMS token and copy to clipboard (#1561)
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 aa88f13a2..e4401ab6e 100644
--- a/src/webview/notifications.ts
+++ b/src/webview/notifications.ts
@@ -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 try{ 40 try {
41 window.ferdium.displayNotification(title, options) 41 window.ferdium.displayNotification(title, options)
42 .then(() => { 42 .then(() => {
43 if (typeof (this.onClick) === 'function') { 43 if (typeof (this.onClick) === 'function') {
@@ -51,7 +51,7 @@ export const notificationsClassDefinition = `(() => {
51 if (typeof (this.onClick) === 'function') { 51 if (typeof (this.onClick) === 'function') {
52 this.onClick(); 52 this.onClick();
53 } 53 }
54 }); 54 });
55 } 55 }
56 } 56 }
57 57