ViewIcons: Fix Patch

This commit is contained in:
thororen1234 2026-04-15 08:58:42 -04:00
parent ecf6a37e1e
commit 1e7e41b92f
No known key found for this signature in database

View file

@ -196,7 +196,7 @@ export default definePlugin({
patches: [
// Avatar component used in User DMs "User Profile" popup in the right and User Profile Modal pfp
{
find: "imageClassName:null!=",
find: ".AVATAR),{trackUserProfileAction:",
replacement: {
match: /avatarSrc:(\i),eventHandlers:(\i).+?"div",.{0,100}className:\i,/,
replace: "$&style:{cursor:\"pointer\"},onClick:()=>{$self.openAvatar($1)},",