fix(chat): fixed desktop notifications, vibrate
Build and Push Docker image / build-and-push (push) Successful in 2m2s
Details
Build and Push Docker image / build-and-push (push) Successful in 2m2s
Details
This commit is contained in:
parent
d6df0b1d43
commit
ed2056fded
|
@ -22,7 +22,6 @@ const sendDesktopNotification = (body: string, url: string) => {
|
||||||
const notification = new Notification(APP_NAME, {
|
const notification = new Notification(APP_NAME, {
|
||||||
body: body,
|
body: body,
|
||||||
icon: `${APP_URL}/stuve-logo.svg`,
|
icon: `${APP_URL}/stuve-logo.svg`,
|
||||||
vibrate: [200, 100, 200],
|
|
||||||
data: {url: url}
|
data: {url: url}
|
||||||
})
|
})
|
||||||
notification.onclick = () => {
|
notification.onclick = () => {
|
||||||
|
|
Loading…
Reference in New Issue