diff options
author | 2023-02-08 21:13:21 +0530 | |
---|---|---|
committer | 2023-02-08 21:13:21 +0530 | |
commit | 2e043a983f4fc1abc6ba9e8b6816b696c95996f4 (patch) | |
tree | 5bfcf00b4881ef901b60fdf7bc4ef2012750160c /src/webview/notifications.ts | |
parent | Merge branch 'develop' into release: Bump version to '6.2.4' (diff) | |
parent | 6.2.5-nightly.3 [skip ci] (diff) | |
download | ferdium-app-2e043a983f4fc1abc6ba9e8b6816b696c95996f4.tar.gz ferdium-app-2e043a983f4fc1abc6ba9e8b6816b696c95996f4.tar.zst ferdium-app-2e043a983f4fc1abc6ba9e8b6816b696c95996f4.zip |
Merge branch 'develop' into release and bump version in package.jsonv6.2.5-beta.1
Diffstat (limited to 'src/webview/notifications.ts')
-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', |