Update EditChannels.plugin.js

This commit is contained in:
Mirco Wittrien 2024-01-25 09:43:41 +01:00
parent cfb392a09f
commit 3edb9c934c
1 changed files with 83 additions and 83 deletions

View File

@ -2,7 +2,7 @@
* @name EditChannels
* @author DevilBro
* @authorId 278543574059057154
* @version 4.5.6
* @version 4.5.7
* @description Allows you to locally edit Channels
* @invite Jx3TjNS
* @donate https://www.paypal.me/MircoWittrien
@ -542,7 +542,7 @@ module.exports = (_ => {
let childrenRender = e.returnvalue.props.children;
e.returnvalue.props.children = BDFDB.TimeUtils.suppress((...args2) => {
let renderedChildren = childrenRender(...args2);
this.changeChannelIconColor(renderedChildren.props.children[1] || renderedChildren.props.children, e.instance.props.channel.id, modify);
this.changeChannelIconColor(renderedChildren.props.children[2] || renderedChildren.props.children, e.instance.props.channel.id, modify);
return renderedChildren;
}, "Error in Children Render of ChannelItem!", this);
}