From 06eacea9a5c1fc2669de778173b2a7a92088cfca Mon Sep 17 00:00:00 2001 From: Araxeus <78568641+Araxeus@users.noreply.github.com> Date: Thu, 12 Jan 2023 22:53:38 +0200 Subject: [PATCH] fix misnamed options in menu --- plugins/notifications/menu.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/plugins/notifications/menu.js b/plugins/notifications/menu.js index d972434e..cb3ff603 100644 --- a/plugins/notifications/menu.js +++ b/plugins/notifications/menu.js @@ -50,7 +50,7 @@ module.exports = (_win, options) => [ ] }, { - label: "Toast Style", + label: "Style", submenu: getToastStyleMenuItems(options) }, ] @@ -71,8 +71,8 @@ function getToastStyleMenuItems(options) { arr[index - 1] = { label: snakeToCamel(name), type: "radio", - checked: options.style === index, - click: () => config.set("style", index), + checked: options.toastStyle === index, + click: () => config.set("toastStyle", index), }; }