From 88b718f1e150a020e3f1cd603bca97e764a1d655 Mon Sep 17 00:00:00 2001 From: thororen1234 <78185467+thororen1234@users.noreply.github.com> Date: Thu, 16 Apr 2026 12:01:58 -0400 Subject: [PATCH] ViewIcons: Fix Find --- src/plugins/viewIcons/index.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/plugins/viewIcons/index.tsx b/src/plugins/viewIcons/index.tsx index d7a74223b..3ffb346dd 100644 --- a/src/plugins/viewIcons/index.tsx +++ b/src/plugins/viewIcons/index.tsx @@ -197,7 +197,7 @@ export default definePlugin({ patches: [ // Avatar component used in User DMs "User Profile" popup in the right and User Profile Modal pfp { - find: "return{avatarProps:{", + find: ".AVATAR),{trackUserProfileAction:", replacement: { match: /(?<=avatarProps:(\i),eventHandlers:(\i).{0,50}?)return null==/, replace: 'Object.assign($2,{style:{cursor:"pointer"},onClick:()=>$self.openAvatar($1.src)});$&',