mirror of
https://github.com/Equicord/Equicord.git
synced 2025-02-25 09:38:52 -05:00
Make ChannelTabs Patch Way Better
This commit is contained in:
parent
cf0f4d4a63
commit
e35ec764ed
1 changed files with 5 additions and 3 deletions
|
@ -48,8 +48,8 @@ export default definePlugin({
|
||||||
{
|
{
|
||||||
find: ".COLLECTIBLES_SHOP_FULLSCREEN))",
|
find: ".COLLECTIBLES_SHOP_FULLSCREEN))",
|
||||||
replacement: {
|
replacement: {
|
||||||
match: /(\?void 0:(\i)\.channelId.{0,300}return)((.{0,15})"div",{.*?\])(\}\)\}\})/,
|
match: /(\?void 0:(\i)\.channelId.{0,300})"div",{/,
|
||||||
replace: "$1$4$self.render,{currentChannel:$2,children:$3})$5"
|
replace: "$1$self.render,{currentChannel:$2,"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
// ctrl click to open in new tab in inbox unread
|
// ctrl click to open in new tab in inbox unread
|
||||||
|
@ -99,7 +99,9 @@ export default definePlugin({
|
||||||
<ErrorBoundary>
|
<ErrorBoundary>
|
||||||
<ChannelsTabsContainer {...currentChannel} />
|
<ChannelsTabsContainer {...currentChannel} />
|
||||||
</ErrorBoundary>
|
</ErrorBoundary>
|
||||||
|
<div style={{ display: "flex" }}>
|
||||||
{children}
|
{children}
|
||||||
|
</div>
|
||||||
</>
|
</>
|
||||||
);
|
);
|
||||||
},
|
},
|
||||||
|
|
Loading…
Add table
Reference in a new issue