From 66517af81cf70005eff87a9229ee874178018a4c Mon Sep 17 00:00:00 2001 From: Araxeus Date: Wed, 28 Apr 2021 16:33:12 +0300 Subject: [PATCH] fix typo --- plugins/notifications/interactive.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/plugins/notifications/interactive.js b/plugins/notifications/interactive.js index 21fd6603..cb487cae 100644 --- a/plugins/notifications/interactive.js +++ b/plugins/notifications/interactive.js @@ -4,14 +4,14 @@ const notifier = require("node-notifier"); //store song controls reference on launch let controls; -let NotificationOnPause; +let notificationOnPause; //Save controls and onPause option module.exports.setupInteractive = (win, unpauseNotification) => { const { playPause, next, previous } = getSongControls(win); controls = { playPause, next, previous }; - NotificationOnPause = unpauseNotification; + notificationOnPause = unpauseNotification; win.webContents.once("closed", () => { deleteNotification() @@ -71,7 +71,7 @@ module.exports.notifyInteractive = function sendToaster(songInfo) { // dont delete notification on play/pause toDelete = undefined; //manually send notification if not sending automatically - if (!NotificationOnPause) { + if (!notificationOnPause) { songInfo.isPaused = false; sendToaster(songInfo); }