ViewIcons: Fix broken patch
This commit is contained in:
parent
8d85cb56d2
commit
2b6e228261
1 changed files with 1 additions and 1 deletions
|
|
@ -201,7 +201,7 @@ export default definePlugin({
|
|||
{
|
||||
find: "return{avatarProps:{",
|
||||
replacement: {
|
||||
match: /(?<=avatarProps:(\i),eventHandlers:(\i).{0,50}?)return null==/,
|
||||
match: /(?<=avatarProps:(\i),eventHandlers:(\i).{0,100}?)return null==/,
|
||||
replace: 'Object.assign($2,{style:{cursor:"pointer"},onClick:()=>$self.openAvatar($1.src)});$&',
|
||||
}
|
||||
},
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue