mirror of
https://github.com/Equicord/Equicord.git
synced 2025-02-25 01:28: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))",
|
||||
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>
|
||||
<div style={{ display: "flex" }}>
|
||||
{children}
|
||||
</div>
|
||||
</>
|
||||
);
|
||||
},
|
||||
|
|
Loading…
Add table
Reference in a new issue