mirror of
https://github.com/th-ch/youtube-music.git
synced 2026-01-15 04:11:47 +00:00
fix misnamed options in menu
This commit is contained in:
@ -50,7 +50,7 @@ module.exports = (_win, options) => [
|
|||||||
]
|
]
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
label: "Toast Style",
|
label: "Style",
|
||||||
submenu: getToastStyleMenuItems(options)
|
submenu: getToastStyleMenuItems(options)
|
||||||
},
|
},
|
||||||
]
|
]
|
||||||
@ -71,8 +71,8 @@ function getToastStyleMenuItems(options) {
|
|||||||
arr[index - 1] = {
|
arr[index - 1] = {
|
||||||
label: snakeToCamel(name),
|
label: snakeToCamel(name),
|
||||||
type: "radio",
|
type: "radio",
|
||||||
checked: options.style === index,
|
checked: options.toastStyle === index,
|
||||||
click: () => config.set("style", index),
|
click: () => config.set("toastStyle", index),
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user