From b576c913204b283ec3bf71907640cb6ce8c70ccf Mon Sep 17 00:00:00 2001 From: thororen1234 <78185467+thororen1234@users.noreply.github.com> Date: Thu, 30 Jan 2025 08:58:09 -0500 Subject: [PATCH] Fix BetterActivities --- src/equicordplugins/betterActivities/index.tsx | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/equicordplugins/betterActivities/index.tsx b/src/equicordplugins/betterActivities/index.tsx index 289ba133..c6556c55 100644 --- a/src/equicordplugins/betterActivities/index.tsx +++ b/src/equicordplugins/betterActivities/index.tsx @@ -459,17 +459,17 @@ export default definePlugin({ patches: [ { // Patch activity icons - find: ".getHangStatusActivity():null!", + find: '"activity-status-web"', replacement: { - match: /null!=(\i)&&\i.some\(\i=>\(0,\i.\i\)\(\i,\i\)\)\?/, - replace: "$self.patchActivityList(e),false?" + match: /\(null==\i?\?void 0:\i.some\(\i\.\i\)\)/, + replace: "$self.patchActivityList(e),false" }, predicate: () => settings.store.memberList, }, { // Show all activities in the user popout/sidebar // still broken btw - find: '"UserActivityContainer"', + find: "#{intl::ACTIVITY_REACTION_REPLY_TITLE}", replacement: { match: /(?<=\(0,\i\.jsx\)\()(\i\.\i)(?=,{...(\i),activity:\i,user:\i,application:\i)/, replace: "$2.type==='BiteSizePopout'?$self.showAllActivitiesComponent:$1"