Fix resumeOnStart option

This commit is contained in:
TC
2021-03-04 23:09:01 +01:00
parent 0dcf820944
commit f50bd32fa3
5 changed files with 14 additions and 5 deletions

View File

@ -69,10 +69,10 @@ const mainMenuTemplate = (win) => [
{
label: "Resume last song when app starts",
type: "checkbox",
checked: config.get("options.resumeSongOnStart"),
checked: config.get("options.resumeOnStart"),
click: (item) => {
config.set("options.resumeSongOnStart", item.checked);
}
config.set("options.resumeOnStart", item.checked);
},
},
...(is.windows() || is.linux()
? [