mirror of
https://github.com/th-ch/youtube-music.git
synced 2026-01-10 10:11:46 +00:00
add notification on unpause option
This commit is contained in:
@ -1,4 +1,4 @@
|
||||
const {urgencyLevels, setUrgency} = require("./utils");
|
||||
const {urgencyLevels, setUrgency, setUnpause} = require("./utils");
|
||||
|
||||
module.exports = (win, options) => [
|
||||
{
|
||||
@ -10,4 +10,10 @@ module.exports = (win, options) => [
|
||||
click: () => setUrgency(options, level.value)
|
||||
})),
|
||||
},
|
||||
{
|
||||
label: "Show notification on unpause",
|
||||
type: "checkbox",
|
||||
checked: options.unpauseNotification,
|
||||
click: (item) => setUnpause(options, item.checked)
|
||||
}
|
||||
];
|
||||
|
||||
Reference in New Issue
Block a user