From f1f5d337b4ba73e30d076c42807623268d1ae859 Mon Sep 17 00:00:00 2001 From: Mirco Wittrien Date: Sat, 24 Oct 2020 10:45:35 +0200 Subject: [PATCH] stuff --- Plugins/PluginRepo/PluginRepo.plugin.js | 9 +++++++-- Plugins/ThemeRepo/ThemeRepo.plugin.js | 9 +++++++-- Plugins/ThemeSettings/ThemeSettings.plugin.js | 2 +- 3 files changed, 15 insertions(+), 5 deletions(-) diff --git a/Plugins/PluginRepo/PluginRepo.plugin.js b/Plugins/PluginRepo/PluginRepo.plugin.js index ab26a794d3..d934dfa818 100644 --- a/Plugins/PluginRepo/PluginRepo.plugin.js +++ b/Plugins/PluginRepo/PluginRepo.plugin.js @@ -13,8 +13,13 @@ module.exports = (_ => { "info": { "name": "PluginRepo", "author": "DevilBro", - "version": "2.0.7", + "version": "2.0.9", "description": "Allow you to look at all plugins from the plugin repo and download them on the fly" + }, + "changeLog": { + "fixed": { + "BD Beta": "Fixed some issues with the beta" + } } }; return !window.BDFDB_Global || (!window.BDFDB_Global.loaded && !window.BDFDB_Global.started) ? class { @@ -558,7 +563,7 @@ module.exports = (_ => { onUserSettingsCogContextMenu (e) { BDFDB.TimeUtils.timeout(_ => { - let [children, index] = BDFDB.ReactUtils.findParent(e.returnvalue, {props: [["label", "BandagedBD"]]}); + let [children, index] = BDFDB.ReactUtils.findParent(e.returnvalue, {props: [["label", ["BandagedBD", "BetterDiscord"]]]}); if (index > -1 && BDFDB.ArrayUtils.is(children[index].props.children)) children[index].props.children.push(BDFDB.ContextMenuUtils.createItem(BDFDB.LibraryComponents.MenuItems.MenuItem, { label: "Plugin Repo", id: BDFDB.ContextMenuUtils.createItemId(this.name, "repo"), diff --git a/Plugins/ThemeRepo/ThemeRepo.plugin.js b/Plugins/ThemeRepo/ThemeRepo.plugin.js index f42c3e9b8d..29b09a7ca8 100644 --- a/Plugins/ThemeRepo/ThemeRepo.plugin.js +++ b/Plugins/ThemeRepo/ThemeRepo.plugin.js @@ -13,8 +13,13 @@ module.exports = (_ => { "info": { "name": "ThemeRepo", "author": "DevilBro", - "version": "2.0.8", + "version": "2.0.9", "description": "Allow you to preview all themes from the theme repo and download them on the fly" + }, + "changeLog": { + "fixed": { + "BD Beta": "Fixed some issues with the beta" + } } }; return !window.BDFDB_Global || (!window.BDFDB_Global.loaded && !window.BDFDB_Global.started) ? class { @@ -851,7 +856,7 @@ module.exports = (_ => { onUserSettingsCogContextMenu (e) { BDFDB.TimeUtils.timeout(_ => { - let [children, index] = BDFDB.ReactUtils.findParent(e.returnvalue, {props: [["label", "BandagedBD"]]}); + let [children, index] = BDFDB.ReactUtils.findParent(e.returnvalue, {props: [["label", ["BandagedBD", "BetterDiscord"]]]}); if (index > -1 && BDFDB.ArrayUtils.is(children[index].props.children)) children[index].props.children.push(BDFDB.ContextMenuUtils.createItem(BDFDB.LibraryComponents.MenuItems.MenuItem, { label: "Theme Repo", id: BDFDB.ContextMenuUtils.createItemId(this.name, "repo"), diff --git a/Plugins/ThemeSettings/ThemeSettings.plugin.js b/Plugins/ThemeSettings/ThemeSettings.plugin.js index 9ffef98326..22fd5086bd 100644 --- a/Plugins/ThemeSettings/ThemeSettings.plugin.js +++ b/Plugins/ThemeSettings/ThemeSettings.plugin.js @@ -18,7 +18,7 @@ module.exports = (_ => { }, "changeLog": { "fixed": { - "BD Beta": "Fixed start up error in plugin lit" + "BD Beta": "Fixed start up error in plugin list" } } };