diff options
Diffstat (limited to 'src/webview')
-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 8b2831754..7f6ce01fd 100644 --- a/src/webview/notifications.ts +++ b/src/webview/notifications.ts | |||
@@ -1,6 +1,6 @@ | |||
1 | import { ipcRenderer } from 'electron'; | 1 | import { ipcRenderer } from 'electron'; |
2 | 2 | ||
3 | import { v1 as uuidV1 } from 'uuid'; | 3 | import { v4 as uuidV4 } from 'uuid'; |
4 | 4 | ||
5 | const debug = require('../preload-safe-debug')('Ferdium:Notifications'); | 5 | const 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', |