mirror of
https://github.com/Vendicated/Vencord.git
synced 2025-01-10 18:06:22 +00:00
fix(memberListActivities): always replace icon
Update patch to support single app icons (like simple Minecraft RPC)
This commit is contained in:
parent
5c4f743b21
commit
ad1d20a4bc
1 changed files with 2 additions and 2 deletions
|
@ -167,8 +167,8 @@ export default definePlugin({
|
|||
// Patch activity icons
|
||||
find: "default.getHangStatusActivity():null!",
|
||||
replacement: {
|
||||
match: /(\i).some\((\i).default\)\?/,
|
||||
replace: "$&$self.patchActivityList($1)||"
|
||||
match: /null!=(\i)&&(\i).some\((\i).default\)\?/,
|
||||
replace: "$self.patchActivityList($1),false?"
|
||||
}
|
||||
},
|
||||
],
|
||||
|
|
Loading…
Reference in a new issue