From cd33e2c3139f2788df4a61f008b977f2ceb12ca6 Mon Sep 17 00:00:00 2001 From: thororen1234 <78185467+thororen1234@users.noreply.github.com> Date: Wed, 8 Jul 2026 17:55:43 -0400 Subject: [PATCH] ChannelTabs: Fix Patch --- src/equicordplugins/channelTabs/index.tsx | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) diff --git a/src/equicordplugins/channelTabs/index.tsx b/src/equicordplugins/channelTabs/index.tsx index 0a7d3b75f..ae2a40597 100644 --- a/src/equicordplugins/channelTabs/index.tsx +++ b/src/equicordplugins/channelTabs/index.tsx @@ -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,", } ] },