fix interactive notifications icon

This commit is contained in:
Araxeus
2022-02-01 19:24:43 +02:00
parent 61eb23614a
commit 271d5258ca
4 changed files with 18 additions and 11 deletions

View File

@ -3,8 +3,6 @@ const is = require("electron-is");
const registerCallback = require("../../providers/song-info");
const { notificationImage } = require("./utils");
const setupInteractive = require("./interactive")
const notify = (info, options) => {
// Fill the notification with content
@ -41,6 +39,6 @@ const setup = (options) => {
module.exports = (win, options) => {
// Register the callback for new song information
is.windows() && options.interactive ?
setupInteractive(win, options.unpauseNotification) :
require("./snoretoast/interactive")(win, options.unpauseNotification) :
setup(options);
};