mirror of
https://github.com/jeffvli/feishin.git
synced 2026-05-10 04:30:25 +02:00
Feature: added silent song notification setting (#1129)
* feat: added silent song notification
This commit is contained in:
@@ -114,6 +114,7 @@ export const useScrobble = () => {
|
|||||||
new Notification(`${currentSong.name}`, {
|
new Notification(`${currentSong.name}`, {
|
||||||
body: `${artists}\n${currentSong.album}`,
|
body: `${artists}\n${currentSong.album}`,
|
||||||
icon: currentSong.imageUrl || undefined,
|
icon: currentSong.imageUrl || undefined,
|
||||||
|
silent: true,
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
}, 1000);
|
}, 1000);
|
||||||
|
|||||||
Reference in New Issue
Block a user