mirror of
https://github.com/Equicord/Equicord.git
synced 2025-06-14 17:13:03 -04:00
BetterActivites: Patch Both ActivityStatus Modules
This commit is contained in:
parent
c3b82dc6ee
commit
7110a2daf0
1 changed files with 3 additions and 2 deletions
|
@ -35,16 +35,17 @@ export default definePlugin({
|
|||
patches: [
|
||||
{
|
||||
// Patch activity icons
|
||||
find: "isBlockedOrIgnored(null",
|
||||
find: '"ActivityStatus"',
|
||||
replacement: {
|
||||
match: /(?<=hideTooltip:.{0,4}}=(\i).*?{}\))\]/,
|
||||
replace: ",$self.patchActivityList($1)]"
|
||||
},
|
||||
predicate: () => settings.store.memberList,
|
||||
all: true
|
||||
},
|
||||
{
|
||||
// Show all activities in the user popout/sidebar
|
||||
find: "hasAvatarForGuild(null",
|
||||
find: '"UserProfilePopoutBody"',
|
||||
replacement: {
|
||||
match: /(?<=(\i)\.id\)\}\)\),(\i).*?)\(0,.{0,100}\i\.id,onClose:\i\}\)/,
|
||||
replace: "$self.showAllActivitiesComponent({ activity: $2, user: $1 })"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue