ViewIcons: Fix Patch

This commit is contained in:
thororen1234 2026-07-24 19:40:58 -04:00
parent ca0a108e70
commit 80ca5c08dd
No known key found for this signature in database

View file

@ -214,7 +214,7 @@ export default definePlugin({
{
find: "return{avatarProps:{",
replacement: {
match: /(?<=avatarProps:(\i),eventHandlers:\i.{0,100}?)return null==(?<=onOpenAvatar:(\i).+?)/,
match: /(?<=avatarProps:(\i),eventHandlers:\i.{0,150}?)return null==(?<=onOpenAvatar:(\i).+?)/,
replace: "$2&&=$self.openAvatar.bind(undefined,$1.src);$&",
}
},