Skip to content
This repository was archived by the owner on Apr 23, 2026. It is now read-only.

Commit 66368ca

Browse files
authored
fix(betterActivities): activity icons patch
1 parent 22430be commit 66368ca

1 file changed

Lines changed: 3 additions & 4 deletions

File tree

src/plugins-extra/betterActivities/index.tsx

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -31,20 +31,19 @@ export default definePlugin({
3131
patches: [
3232
{
3333
// Patch activity icons
34-
find: "isBlockedOrIgnored(null",
34+
find: '"ActivityStatus"),',
3535
replacement: [
3636
{
37-
match: /(?<=className:\i,children:\[).*?(?=\i\(\),\i&&)/,
37+
match: /(?<=className:\i,children:\[).*?(?=\i\(\),\i&&)/g,
3838
replace: "",
3939
predicate: () => settings.store.removeGameActivityStatus,
4040
},
4141
{
42-
match: /(?<=hideTooltip:.{0,4}}=(\i).*?{}\))\]/,
42+
match: /(?<=hideTooltip:.{0,4}}=(\i).*?{}\))\]/g,
4343
replace: ",$self.patchActivityList($1)]",
4444
predicate: () => settings.store.memberList,
4545
}
4646
],
47-
all: true
4847
},
4948
{
5049
// Show all activities in the user popout/sidebar

0 commit comments

Comments
 (0)