1
0
Fork 1
mirror of https://github.com/Vendicated/Vencord.git synced 2025-01-25 08:46:25 +00:00

Fix ViewIcons correctly

This commit is contained in:
Vendicated 2023-11-04 18:54:29 +01:00 committed by Luna
parent 8f432e27e8
commit 3c3b6382cb

View file

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