mirror of
https://github.com/th-ch/youtube-music.git
synced 2026-01-11 10:31:47 +00:00
Add an option to hide duration before the song ends
This commit is contained in:
@ -40,6 +40,15 @@ module.exports = (win, options, refreshMenu) => {
|
||||
setMenuOptions('discord', options);
|
||||
},
|
||||
},
|
||||
{
|
||||
label: "Hide duration left",
|
||||
type: "checkbox",
|
||||
checked: options.hideDurationLeft,
|
||||
click: (item) => {
|
||||
options.hideDurationLeft = item.checked;
|
||||
setMenuOptions('discord', options);
|
||||
}
|
||||
},
|
||||
{
|
||||
label: "Set inactivity timeout",
|
||||
click: () => setInactivityTimeout(win, options),
|
||||
|
||||
Reference in New Issue
Block a user