Add an option to hide duration before the song ends

This commit is contained in:
slyde99
2022-08-23 21:00:52 +08:00
parent a8301f44be
commit 0c0cb0501c
3 changed files with 12 additions and 2 deletions

View File

@ -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),