From e5450f5b802d200fe3f57862eca5721cb8d0987f Mon Sep 17 00:00:00 2001 From: thororen1234 <78185467+thororen1234@users.noreply.github.com> Date: Sun, 14 Dec 2025 15:41:29 -0500 Subject: [PATCH] EquicordHelper: Req Restart --- src/equicordplugins/equicordHelper/index.tsx | 19 +++++++++++-------- 1 file changed, 11 insertions(+), 8 deletions(-) diff --git a/src/equicordplugins/equicordHelper/index.tsx b/src/equicordplugins/equicordHelper/index.tsx index f217042fe..f571b043e 100644 --- a/src/equicordplugins/equicordHelper/index.tsx +++ b/src/equicordplugins/equicordHelper/index.tsx @@ -27,16 +27,19 @@ const settings = definePluginSettings({ noMirroredCamera: { type: OptionType.BOOLEAN, description: "Prevents the camera from being mirrored on your screen", + restartNeeded: true, default: false, }, removeActivitySection: { type: OptionType.BOOLEAN, description: "Removes the activity section above member list", + restartNeeded: true, default: false, }, showYourOwnActivityButtons: { type: OptionType.BOOLEAN, description: "Discord hides your own activity buttons for some reason", + restartNeeded: true, default: false, } }); @@ -109,6 +112,14 @@ export default definePlugin({ replace: "true||$&" }, }, + { + find: ".buttons.length)>=1", + predicate: () => settings.store.showYourOwnActivityButtons && !isPluginEnabled(customRPC.name), + replacement: { + match: /.getId\(\)===\i.id/, + replace: "$& && false" + } + }, // Always show open legacy settings ...[ ".DEVELOPER_SECTION,", @@ -122,14 +133,6 @@ export default definePlugin({ }, ] })), - { - find: ".buttons.length)>=1", - predicate: () => settings.store.showYourOwnActivityButtons && !isPluginEnabled(customRPC.name), - replacement: { - match: /.getId\(\)===\i.id/, - replace: "$& && false" - } - } ], renderMessageAccessory(props) { return (