Fix ViewIcons correctly

This commit is contained in:
Vendicated 2023-11-04 18:54:29 +01:00
parent 2c9793202d
commit a67c7f841d
No known key found for this signature in database
GPG Key ID: D66986BAF75ECF18

@ -173,7 +173,7 @@ export default definePlugin({
patches: [ patches: [
// Make pfps clickable // Make pfps clickable
{ {
find: "onAddFriend:function", find: "User Profile Modal - Context Menu",
replacement: { replacement: {
match: /\{src:(\i)(?=,avatarDecoration)/, match: /\{src:(\i)(?=,avatarDecoration)/,
replace: "{src:$1,onClick:()=>$self.openImage($1)" replace: "{src:$1,onClick:()=>$self.openImage($1)"