From 315728415b2269981a04ee51af7ef18412d7bf70 Mon Sep 17 00:00:00 2001 From: Willy Woitas Date: Sun, 18 Feb 2024 01:49:42 +0100 Subject: feat: Parse 2FA SMS token and copy to clipboard (#1561) --- src/webview/notifications.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/webview/notifications.ts') 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 = `(() => { constructor(title = '', options = {}) { this.title = title; this.options = options; - try{ + try { window.ferdium.displayNotification(title, options) .then(() => { if (typeof (this.onClick) === 'function') { @@ -51,7 +51,7 @@ export const notificationsClassDefinition = `(() => { if (typeof (this.onClick) === 'function') { this.onClick(); } - }); + }); } } -- cgit v1.2.3-54-g00ecf