ChannelTabs: Fix Patch

This commit is contained in:
thororen1234 2026-07-08 17:55:43 -04:00
parent 434814340b
commit cd33e2c313
No known key found for this signature in database

View file

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