ChannelTabs: Fix shoving text box

This commit is contained in:
thororen 2026-09-26 21:38:48 -04:00
parent 481d941b65
commit 1e98d5a440
No known key found for this signature in database

View file

@ -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"
}
]
},