aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-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 8b2831754..7f6ce01fd 100644
--- a/src/webview/notifications.ts
+++ b/src/webview/notifications.ts
@@ -1,6 +1,6 @@
1import { ipcRenderer } from 'electron'; 1import { ipcRenderer } from 'electron';
2 2
3import { v1 as uuidV1 } from 'uuid'; 3import { v4 as uuidV4 } from 'uuid';
4 4
5const debug = require('../preload-safe-debug')('Ferdium:Notifications'); 5const debug = require('../preload-safe-debug')('Ferdium:Notifications');
6 6
@@ -12,7 +12,7 @@ export class NotificationsHandler {
12 return new Promise(resolve => { 12 return new Promise(resolve => {
13 debug('New notification', title, options); 13 debug('New notification', title, options);
14 14
15 const notificationId = uuidV1(); 15 const notificationId = uuidV4();
16 16
17 ipcRenderer.sendToHost( 17 ipcRenderer.sendToHost(
18 'notification', 18 'notification',