From 7876ffa2146a652476864a2c729dcd5765ed719b Mon Sep 17 00:00:00 2001 From: 1Lighty <49841131+1Lighty@users.noreply.github.com> Date: Thu, 28 Mar 2024 22:18:47 +0100 Subject: [PATCH] XL v1.4.15 fix notifications --- Plugins/1XenoLib.plugin.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Plugins/1XenoLib.plugin.js b/Plugins/1XenoLib.plugin.js index 8669664..7f7c3d8 100644 --- a/Plugins/1XenoLib.plugin.js +++ b/Plugins/1XenoLib.plugin.js @@ -3,7 +3,7 @@ * @description Simple library to complement plugins with shared code without lowering performance. Also adds needed buttons to some plugins. * @author 1Lighty * @authorId 239513071272329217 - * @version 1.4.14 + * @version 1.4.15 * @invite NYvWdN5 * @donate https://paypal.me/lighty13 * @source https://github.com/1Lighty/BetterDiscordPlugins/blob/master/Plugins/1XenoLib.plugin.js @@ -106,7 +106,7 @@ module.exports = (() => { twitter_username: '' } ], - version: '1.4.14', + version: '1.4.15', description: 'Simple library to complement plugins with shared code without lowering performance. Also adds needed buttons to some plugins.', github: 'https://github.com/1Lighty', github_raw: 'https://raw.githubusercontent.com/1Lighty/BetterDiscordPlugins/master/Plugins/1XenoLib.plugin.js' @@ -904,8 +904,8 @@ module.exports = (() => { try { - XenoLib.ReactComponents.ButtonOptions = WebpackModules.getByProps('Button'); - XenoLib.ReactComponents.Button = WebpackModules.getByProps('Button').Button; + XenoLib.ReactComponents.ButtonOptions = WebpackModules.getByProps('Button', 'ButtonColors'); + XenoLib.ReactComponents.Button = WebpackModules.getByProps('Button', 'ButtonColors').Button; } catch (e) { Logger.stacktrace('Error getting Button component', e); }