diff --git a/Library/_res/0BDFDB.data.json b/Library/_res/0BDFDB.data.json
index 2ac6b9b487..b61f37ee40 100644
--- a/Library/_res/0BDFDB.data.json
+++ b/Library/_res/0BDFDB.data.json
@@ -630,10 +630,10 @@
"icon": ""
},
"GAMEPAD": {
- "icon": ""
+ "icon": ""
},
"GAMEPAD_DISABLED": {
- "icon": ""
+ "icon": ""
},
"GITHUB": {
"icon": ""
diff --git a/Plugins/GameActivityToggle/GameActivityToggle.plugin.js b/Plugins/GameActivityToggle/GameActivityToggle.plugin.js
index cedc7f9993..f50c46daa5 100644
--- a/Plugins/GameActivityToggle/GameActivityToggle.plugin.js
+++ b/Plugins/GameActivityToggle/GameActivityToggle.plugin.js
@@ -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()
}));
}