diff --git a/Library/0BDFDB.plugin.js b/Library/0BDFDB.plugin.js
index df1a8f833d..3b8b1ac5c4 100644
--- a/Library/0BDFDB.plugin.js
+++ b/Library/0BDFDB.plugin.js
@@ -4512,26 +4512,22 @@ module.exports = (_ => {
href: data.href,
children: data.icon || data.label
});
- if (!isBeta) return [
+ return !isBeta ? [
i > 0 && " | ",
link
- ];
- else {
- let button = BDFDB.ReactUtils.createElement("div", {
- className: BDFDB.disCN._repocontrolsbutton,
- children: link,
- onClick: e => {
- if (typeof data.onClick == "function") {
- BDFDB.ListenerUtils.stopEvent(e);
- data.onClick();
- }
+ ] : BDFDB.ReactUtils.createElement("div", {
+ className: BDFDB.disCN._repocontrolsbutton,
+ onClick: e => {
+ if (typeof data.onClick == "function") {
+ BDFDB.ListenerUtils.stopEvent(e);
+ data.onClick();
}
- });
- return typeof data.label == "string" ? BDFDB.ReactUtils.createElement(InternalComponents.LibraryComponents.TooltipContainer, {
+ },
+ children: typeof data.label == "string" ? BDFDB.ReactUtils.createElement(InternalComponents.LibraryComponents.TooltipContainer, {
text: data.label,
- children: button
- }) : button;
- }
+ children: link
+ }) : link
+ });
}).flat(10).filter(n => n)
}),
buttons.length && BDFDB.ReactUtils.createElement("div", {
@@ -6831,7 +6827,10 @@ module.exports = (_ => {
},
STREAM: {
icon: ``
- }
+ },
+ TRASH: {
+ icon: ``
+ },
};
const SwitchIconPaths = {