Revert ViewIcons: Not Fixing On Stable
This commit is contained in:
parent
88b718f1e1
commit
c89b605822
1 changed files with 1 additions and 1 deletions
|
|
@ -197,7 +197,7 @@ export default definePlugin({
|
||||||
patches: [
|
patches: [
|
||||||
// Avatar component used in User DMs "User Profile" popup in the right and User Profile Modal pfp
|
// Avatar component used in User DMs "User Profile" popup in the right and User Profile Modal pfp
|
||||||
{
|
{
|
||||||
find: ".AVATAR),{trackUserProfileAction:",
|
find: "return{avatarProps:{",
|
||||||
replacement: {
|
replacement: {
|
||||||
match: /(?<=avatarProps:(\i),eventHandlers:(\i).{0,50}?)return null==/,
|
match: /(?<=avatarProps:(\i),eventHandlers:(\i).{0,50}?)return null==/,
|
||||||
replace: 'Object.assign($2,{style:{cursor:"pointer"},onClick:()=>$self.openAvatar($1.src)});$&',
|
replace: 'Object.assign($2,{style:{cursor:"pointer"},onClick:()=>$self.openAvatar($1.src)});$&',
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue