This commit is contained in:
Mirco Wittrien 2022-07-09 21:56:15 +02:00
parent b610d6171b
commit 0631949704
2 changed files with 12 additions and 8 deletions

View File

@ -2,7 +2,7 @@
* @name BDFDB * @name BDFDB
* @author DevilBro * @author DevilBro
* @authorId 278543574059057154 * @authorId 278543574059057154
* @version 2.4.3 * @version 2.4.4
* @description Required Library for DevilBro's Plugins * @description Required Library for DevilBro's Plugins
* @invite Jx3TjNS * @invite Jx3TjNS
* @donate https://www.paypal.me/MircoWittrien * @donate https://www.paypal.me/MircoWittrien
@ -19,7 +19,7 @@ module.exports = (_ => {
"info": { "info": {
"name": "BDFDB", "name": "BDFDB",
"author": "DevilBro", "author": "DevilBro",
"version": "2.4.3", "version": "2.4.4",
"description": "Required Library for DevilBro's Plugins" "description": "Required Library for DevilBro's Plugins"
}, },
"rawUrl": "https://mwittrien.github.io/BetterDiscordAddons/Library/0BDFDB.plugin.js" "rawUrl": "https://mwittrien.github.io/BetterDiscordAddons/Library/0BDFDB.plugin.js"
@ -6609,8 +6609,11 @@ module.exports = (_ => {
onContextMenu: this.handleContextMenu.bind(this), onContextMenu: this.handleContextMenu.bind(this),
children: [ children: [
!this.props.noCircle ? BDFDB.ReactUtils.createElement("div", { !this.props.noCircle ? BDFDB.ReactUtils.createElement("div", {
className: BDFDB.disCN.userpopoutroleremovebutton,
children: BDFDB.ReactUtils.createElement("span", {
className: BDFDB.disCN.userpopoutrolecircle, className: BDFDB.disCN.userpopoutrolecircle,
style: {backgroundColor: color} style: {backgroundColor: color}
})
}) : null, }) : null,
BDFDB.ReactUtils.createElement("div", { BDFDB.ReactUtils.createElement("div", {
className: BDFDB.disCN.userpopoutrolename, className: BDFDB.disCN.userpopoutrolename,
@ -8578,7 +8581,6 @@ module.exports = (_ => {
} }
} }
while (removedTypes.length) delete PluginStores.chunkObserver[removedTypes.pop()]; while (removedTypes.length) delete PluginStores.chunkObserver[removedTypes.pop()];
let found = false, funcString = exports && exports.default && typeof exports.default == "function" && exports.default.toString(); let found = false, funcString = exports && exports.default && typeof exports.default == "function" && exports.default.toString();
if (funcString && funcString.indexOf(".page") > -1 && funcString.indexOf(".section") > -1 && funcString.indexOf(".objectType") > -1) { if (funcString && funcString.indexOf(".page") > -1 && funcString.indexOf(".section") > -1 && funcString.indexOf(".objectType") > -1) {
const returnValue = exports.default({}); const returnValue = exports.default({});

View File

@ -1392,7 +1392,8 @@
"Reactions": {"props": ["reactionBtn", "reaction"]}, "Reactions": {"props": ["reactionBtn", "reaction"]},
"RecentMentions": {"props": ["recentMentionsPopout"]}, "RecentMentions": {"props": ["recentMentionsPopout"]},
"RecentMentionsHeader": {"props": ["channelName", "channelHeader", "dmIcon"]}, "RecentMentionsHeader": {"props": ["channelName", "channelHeader", "dmIcon"]},
"Role": {"props": ["roleCircle", "roleName", "roleRemoveIcon"]}, "Role": {"props": ["roleName", "roleRemoveIcon"]},
"RoleCircle": {"props": ["roleCircle", "flex"]},
"Scrollbar": {"props": ["scrollbar", "scrollbarGhost"]}, "Scrollbar": {"props": ["scrollbar", "scrollbarGhost"]},
"Scroller": {"props": ["scrollerBase", "none", "fade"]}, "Scroller": {"props": ["scrollerBase", "none", "fade"]},
"SearchBar": {"props": ["clear", "container", "pointer"]}, "SearchBar": {"props": ["clear", "container", "pointer"]},
@ -3205,9 +3206,10 @@
"userpopoutheadertop": ["UserPopoutHeader", "headerTop"], "userpopoutheadertop": ["UserPopoutHeader", "headerTop"],
"userpopoutheadertopwithcustomstatus": ["UserPopoutHeader", "headerTopWithCustomStatus"], "userpopoutheadertopwithcustomstatus": ["UserPopoutHeader", "headerTopWithCustomStatus"],
"userpopoutrole": ["Role", "role"], "userpopoutrole": ["Role", "role"],
"userpopoutrolecircle": ["Role", "roleCircle"], "userpopoutrolecircle": ["RoleCircle", "roleCircle"],
"userpopoutrolelist": ["UserPopoutBody", "rolesList"], "userpopoutrolelist": ["UserPopoutBody", "rolesList"],
"userpopoutrolename": ["Role", "roleName"], "userpopoutrolename": ["Role", "roleName"],
"userpopoutroleremovebutton": ["Role", "roleRemoveButton"],
"userpopoutroles": ["Role", "root"], "userpopoutroles": ["Role", "root"],
"userpopoutsetidentitylink": ["UserPopout", "setIdentityLink"], "userpopoutsetidentitylink": ["UserPopout", "setIdentityLink"],
"userprofile": ["UserProfile", "root"], "userprofile": ["UserProfile", "root"],