Updated (plugins/0BDFDB.config.json)

This commit is contained in:
firebadnofire 2024-04-14 07:47:00 -04:00
parent 0ea8c03a40
commit 8c5291d6f0
Signed by: firebadnofire
SSH Key Fingerprint: SHA256:bnN1TGRauJN84CxL1IZ/2uHNvJualwYkFjOKaaOilJE
2 changed files with 18 additions and 9 deletions

View File

@ -3,7 +3,7 @@
"changeLogs": {
"BDFDB": "3.6.4",
"ClickableMentions": "1.0.6",
"GameActivityToggle": "1.2.3",
"GameActivityToggle": "1.2.4",
"ImageUtilities": "5.4.2",
"MessageUtilities": "1.9.8",
"PluginRepo": "2.5.5",

View File

@ -2,7 +2,7 @@
* @name GameActivityToggle
* @author DevilBro
* @authorId 278543574059057154
* @version 1.2.3
* @version 1.2.4
* @description Adds a Quick-Toggle Game Activity Button
* @invite Jx3TjNS
* @donate https://www.paypal.me/MircoWittrien
@ -73,13 +73,22 @@ module.exports = (_ => {
delete this.props.forceState;
return BDFDB.ReactUtils.createElement(BDFDB.LibraryComponents.PanelButton, Object.assign({}, this.props, {
tooltipText: enabled ? _this.labels.disable_activity : _this.labels.enable_activity,
icon: iconProps => BDFDB.ReactUtils.createElement(BDFDB.LibraryComponents.SvgIcon, Object.assign({}, iconProps, {
nativeClass: true,
width: 20,
height: 20,
color: enabled ? "currentColor" : BDFDB.DiscordConstants.ColorsCSS.STATUS_DANGER,
name: enabled ? BDFDB.LibraryComponents.SvgIcon.Names.GAMEPAD : BDFDB.LibraryComponents.SvgIcon.Names.GAMEPAD_DISABLED
})),
icon: iconProps => BDFDB.ReactUtils.createElement("div", {
className: BDFDB.disCN.lottieicon,
style: {
"--__lottieIconColor": enabled ? "currentColor" : BDFDB.DiscordConstants.ColorsCSS.STATUS_DANGER,
"display": "flex",
"width": "20px",
"height": "20px"
},
children: BDFDB.ReactUtils.createElement(BDFDB.LibraryComponents.SvgIcon, Object.assign({}, iconProps, {
nativeClass: true,
width: 20,
height: 20,
color: "var(--__lottieIconColor)",
name: enabled ? BDFDB.LibraryComponents.SvgIcon.Names.GAMEPAD : BDFDB.LibraryComponents.SvgIcon.Names.GAMEPAD_DISABLED
}))
}),
onClick: _ => _this.toggle()
}));
}