Revert ViewIcons: Not Fixing On Stable

This commit is contained in:
thororen1234 2026-04-16 12:04:34 -04:00
parent 88b718f1e1
commit c89b605822
No known key found for this signature in database

View file

@ -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: ".AVATAR),{trackUserProfileAction:",
find: "return{avatarProps:{",
replacement: {
match: /(?<=avatarProps:(\i),eventHandlers:(\i).{0,50}?)return null==/,
replace: 'Object.assign($2,{style:{cursor:"pointer"},onClick:()=>$self.openAvatar($1.src)});$&',