Make ChannelTabs Patch Way Better

This commit is contained in:
thororen1234 2025-02-23 10:48:25 -05:00
parent cf0f4d4a63
commit e35ec764ed
No known key found for this signature in database

View file

@ -48,8 +48,8 @@ export default definePlugin({
{
find: ".COLLECTIBLES_SHOP_FULLSCREEN))",
replacement: {
match: /(\?void 0:(\i)\.channelId.{0,300}return)((.{0,15})"div",{.*?\])(\}\)\}\})/,
replace: "$1$4$self.render,{currentChannel:$2,children:$3})$5"
match: /(\?void 0:(\i)\.channelId.{0,300})"div",{/,
replace: "$1$self.render,{currentChannel:$2,"
}
},
// ctrl click to open in new tab in inbox unread
@ -99,7 +99,9 @@ export default definePlugin({
<ErrorBoundary>
<ChannelsTabsContainer {...currentChannel} />
</ErrorBoundary>
{children}
<div style={{ display: "flex" }}>
{children}
</div>
</>
);
},