This commit is contained in:
Mirco Wittrien 2020-10-24 10:45:35 +02:00
parent 88858d897a
commit f1f5d337b4
3 changed files with 15 additions and 5 deletions

View File

@ -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"),

View File

@ -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"),

View File

@ -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"
}
}
};