Fix ViewIcons correctly
This commit is contained in:
parent
2c9793202d
commit
a67c7f841d
|
@ -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)"
|
||||||
|
|
Loading…
Reference in a new issue