mirror of
https://github.com/th-ch/youtube-music.git
synced 2026-01-18 13:42:06 +00:00
update camelCase
This commit is contained in:
@ -14,7 +14,7 @@ module.exports.setupInteractive = (win, unpauseNotification) => {
|
|||||||
onPause = unpauseNotification;
|
onPause = unpauseNotification;
|
||||||
|
|
||||||
win.webContents.once("closed", () => {
|
win.webContents.once("closed", () => {
|
||||||
Delete()
|
deleteNotification()
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -33,7 +33,7 @@ function deleteNotification() {
|
|||||||
|
|
||||||
//New notification
|
//New notification
|
||||||
module.exports.notifyInteractive = function sendToaster(songInfo) {
|
module.exports.notifyInteractive = function sendToaster(songInfo) {
|
||||||
Delete();
|
deleteNotification();
|
||||||
//download image and get path
|
//download image and get path
|
||||||
let imgSrc = notificationImage(songInfo, true);
|
let imgSrc = notificationImage(songInfo, true);
|
||||||
toDelete = {
|
toDelete = {
|
||||||
@ -84,7 +84,7 @@ module.exports.notifyInteractive = function sendToaster(songInfo) {
|
|||||||
//Native datatype
|
//Native datatype
|
||||||
case "dismissed":
|
case "dismissed":
|
||||||
case "timeout":
|
case "timeout":
|
||||||
Delete();
|
deleteNotification();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user