diff --git a/src/equicordplugins/unreadBadgeCount/index.tsx b/src/equicordplugins/unreadBadgeCount/index.tsx index 0b461cdc..e19a1b26 100644 --- a/src/equicordplugins/unreadBadgeCount/index.tsx +++ b/src/equicordplugins/unreadBadgeCount/index.tsx @@ -49,7 +49,7 @@ export default definePlugin({ find: "UNREAD_IMPORTANT:", replacement: [ { - match: /\.name\),.{0,120}\.children.+?:null/, + match: /\.name,{.{0,140}\.children.+?:null/, replace: "$&,$self.CountBadge({channel: arguments[0].channel,})", predicate: () => !settings.store.replaceWhiteDot }, diff --git a/src/plugins/showHiddenChannels/index.tsx b/src/plugins/showHiddenChannels/index.tsx index 9aaac9eb..77a68af0 100644 --- a/src/plugins/showHiddenChannels/index.tsx +++ b/src/plugins/showHiddenChannels/index.tsx @@ -178,13 +178,13 @@ export default definePlugin({ // Add the hidden eye icon if the channel is hidden { predicate: () => settings.store.showMode === ShowMode.EyeIconRight, - match: /\.name\),.{0,120}\.children.+?:null(?<=,channel:(\i).+?)/, + match: /\.name,{.{0,140}\.children.+?:null(?<=,channel:(\i).+?)/, replace: (m, channel) => `${m},$self.isHiddenChannel(${channel})?$self.EyeRightIcon():null` }, // Add the hidden lock icon if the channel is hidden { predicate: () => settings.store.showMode === ShowMode.LockIconRight, - match: /\.name\),.{0,120}\.children.+?:null(?<=,channel:(\i).+?)/, + match: /\.name,{.{0,140}\.children.+?:null(?<=,channel:(\i).+?)/, replace: (m, channel) => `${m},$self.isHiddenChannel(${channel})?$self.LockRightIcon():null` }, ]