From 462c6611394d79ce49a0755a9a6ed13f69142c83 Mon Sep 17 00:00:00 2001 From: thororen1234 <78185467+thororen1234@users.noreply.github.com> Date: Wed, 27 May 2026 21:09:10 -0400 Subject: [PATCH] cap match --- src/plugins/betterSessions/index.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/plugins/betterSessions/index.tsx b/src/plugins/betterSessions/index.tsx index 9b90237ed..5a00a75b3 100644 --- a/src/plugins/betterSessions/index.tsx +++ b/src/plugins/betterSessions/index.tsx @@ -66,12 +66,12 @@ export default definePlugin({ replace: "()=>$self.renderIcon({...arguments[0],DeviceIcon:$1})" }, { - match: /("horizontal",gap:"xs",children:)\[.*?"text-subtle",children:\i\}\)\]\}\),/, + match: /("horizontal",gap:"xs",children:)\[.{0,250}"text-subtle",children:\i\}\)\]\}\),/, replace: "$1$self.renderName(arguments[0])})," }, { match: /("text-muted",children:)\i(?=\}\)\]\}\),.{0,120}\.client_info\?\.location)/, - replace: "$1$self.renderDescription({...arguments[0]})" + replace: "$1$self.renderDescription(arguments[0])" }, { match: /:\i\(\i\.approx_last_used_time\).{0,40}\(0,\i\.jsxs?\)\(\i,\{/,