mirror of
https://github.com/th-ch/youtube-music.git
synced 2026-01-11 10:31:47 +00:00
fix interactive notifications icon
This commit is contained in:
@ -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);
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user