Small tweak
(did try setting up actions but they require a service worker so fuck that and electron's notifications dont support url because they have to be annoying)
This commit is contained in:
parent
f21a13f50a
commit
f190c199b2
1 changed files with 1 additions and 1 deletions
|
@ -843,7 +843,7 @@ const app = new Vue({
|
||||||
this.notification.close()
|
this.notification.close()
|
||||||
}
|
}
|
||||||
this.notification = new Notification(a.name, {
|
this.notification = new Notification(a.name, {
|
||||||
body: a.artistName,
|
body: `${a.artistName} — ${a.albumName}`,
|
||||||
icon: a.artwork.url.replace('/{w}x{h}bb', '/512x512bb').replace('/2000x2000bb', '/35x35bb'),
|
icon: a.artwork.url.replace('/{w}x{h}bb', '/512x512bb').replace('/2000x2000bb', '/35x35bb'),
|
||||||
silent: true,
|
silent: true,
|
||||||
});
|
});
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue