fix restart app on config change option

This commit is contained in:
Araxeus
2022-01-20 22:54:19 +02:00
parent 44aa62c9c8
commit 74b67c3d33
12 changed files with 54 additions and 40 deletions

View File

@ -1,4 +1,4 @@
const { setOptions } = require("../../config/plugins");
const { setMenuOptions } = require("../../config/plugins");
module.exports = (win, options) => [
{
@ -7,7 +7,7 @@ module.exports = (win, options) => [
checked: options.forceHide,
click: item => {
options.forceHide = item.checked;
setOptions("video-toggle", options);
setMenuOptions("video-toggle", options);
}
}
];