Center Icon on ALL notifications

Delete notification on windowclosed
Refactor notifications.utils.setOption
This commit is contained in:
Araxeus
2021-04-09 18:39:57 +03:00
parent 18f041f1c6
commit e6d77c165e
3 changed files with 32 additions and 29 deletions

View File

@ -12,6 +12,10 @@ module.exports.setupInteractive = (win, unpauseNotification) => {
controls = { playPause, next, previous };
onPause = unpauseNotification;
win.webContents.on("closed", () => {
Delete()
});
}
//delete old notification