ChannelTabs: Fix Patch
This commit is contained in:
parent
434814340b
commit
cd33e2c313
1 changed files with 2 additions and 8 deletions
|
|
@ -62,14 +62,8 @@ export default definePlugin({
|
|||
find: '"AppView"',
|
||||
replacement: [
|
||||
{
|
||||
match: /((\i\?.params)\?\.channelId.{0,600})"div",{(?=className:\i\.\i)/,
|
||||
replace: "$1$self.render,{currentChannel:$2,",
|
||||
predicate: () => settings.store.tabBarPosition === "top"
|
||||
},
|
||||
{
|
||||
match: /((\i\?.params)\?.channelId.{0,300})"div",{/,
|
||||
replace: "$1$self.render,{currentChannel:$2,",
|
||||
predicate: () => settings.store.tabBarPosition === "bottom"
|
||||
match: /"div",{(?=.{0,80}(\i\?\.params))/,
|
||||
replace: "$self.render,{currentChannel:$1,",
|
||||
}
|
||||
]
|
||||
},
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue