diff --git a/Library/0BDFDB.plugin.js b/Library/0BDFDB.plugin.js index 51741c2811..a5f1bc3b8a 100644 --- a/Library/0BDFDB.plugin.js +++ b/Library/0BDFDB.plugin.js @@ -2,7 +2,7 @@ * @name BDFDB * @author DevilBro * @authorId 278543574059057154 - * @version 2.4.3 + * @version 2.4.4 * @description Required Library for DevilBro's Plugins * @invite Jx3TjNS * @donate https://www.paypal.me/MircoWittrien @@ -19,7 +19,7 @@ module.exports = (_ => { "info": { "name": "BDFDB", "author": "DevilBro", - "version": "2.4.3", + "version": "2.4.4", "description": "Required Library for DevilBro's Plugins" }, "rawUrl": "https://mwittrien.github.io/BetterDiscordAddons/Library/0BDFDB.plugin.js" @@ -6609,8 +6609,11 @@ module.exports = (_ => { onContextMenu: this.handleContextMenu.bind(this), children: [ !this.props.noCircle ? BDFDB.ReactUtils.createElement("div", { - className: BDFDB.disCN.userpopoutrolecircle, - style: {backgroundColor: color} + className: BDFDB.disCN.userpopoutroleremovebutton, + children: BDFDB.ReactUtils.createElement("span", { + className: BDFDB.disCN.userpopoutrolecircle, + style: {backgroundColor: color} + }) }) : null, BDFDB.ReactUtils.createElement("div", { className: BDFDB.disCN.userpopoutrolename, @@ -8578,7 +8581,6 @@ module.exports = (_ => { } } while (removedTypes.length) delete PluginStores.chunkObserver[removedTypes.pop()]; - 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) { const returnValue = exports.default({}); diff --git a/Library/_res/0BDFDB.data.json b/Library/_res/0BDFDB.data.json index f424d388ae..3abd2e03d4 100644 --- a/Library/_res/0BDFDB.data.json +++ b/Library/_res/0BDFDB.data.json @@ -1392,7 +1392,8 @@ "Reactions": {"props": ["reactionBtn", "reaction"]}, "RecentMentions": {"props": ["recentMentionsPopout"]}, "RecentMentionsHeader": {"props": ["channelName", "channelHeader", "dmIcon"]}, - "Role": {"props": ["roleCircle", "roleName", "roleRemoveIcon"]}, + "Role": {"props": ["roleName", "roleRemoveIcon"]}, + "RoleCircle": {"props": ["roleCircle", "flex"]}, "Scrollbar": {"props": ["scrollbar", "scrollbarGhost"]}, "Scroller": {"props": ["scrollerBase", "none", "fade"]}, "SearchBar": {"props": ["clear", "container", "pointer"]}, @@ -3205,9 +3206,10 @@ "userpopoutheadertop": ["UserPopoutHeader", "headerTop"], "userpopoutheadertopwithcustomstatus": ["UserPopoutHeader", "headerTopWithCustomStatus"], "userpopoutrole": ["Role", "role"], - "userpopoutrolecircle": ["Role", "roleCircle"], + "userpopoutrolecircle": ["RoleCircle", "roleCircle"], "userpopoutrolelist": ["UserPopoutBody", "rolesList"], "userpopoutrolename": ["Role", "roleName"], + "userpopoutroleremovebutton": ["Role", "roleRemoveButton"], "userpopoutroles": ["Role", "root"], "userpopoutsetidentitylink": ["UserPopout", "setIdentityLink"], "userprofile": ["UserProfile", "root"], @@ -5415,4 +5417,4 @@ "text": "BDFDB Special Supporter" } } -} +} \ No newline at end of file