ChannelTabs: Fix shoving text box
This commit is contained in:
parent
481d941b65
commit
1e98d5a440
1 changed files with 6 additions and 0 deletions
|
|
@ -65,9 +65,15 @@ export default definePlugin({
|
|||
{
|
||||
find: '"AppView"',
|
||||
replacement: [
|
||||
{
|
||||
match: /((\i\?\.params)\.guildId===.{0,300}?)"div",{(?=className:\i\.\i,children:\[)/,
|
||||
replace: "$1$self.render,{currentChannel:$2,",
|
||||
predicate: () => settings.store.tabBarPosition === "top"
|
||||
},
|
||||
{
|
||||
match: /"div",{(?=.{0,80}(\i\?\.params))/,
|
||||
replace: "$self.render,{currentChannel:$1,",
|
||||
predicate: () => settings.store.tabBarPosition === "bottom"
|
||||
}
|
||||
]
|
||||
},
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue