From 23ac3e735ed08132971d01c1c2e93c307494f41a Mon Sep 17 00:00:00 2001 From: thororen1234 <78185467+thororen1234@users.noreply.github.com> Date: Tue, 21 Oct 2025 16:31:42 -0400 Subject: [PATCH] EquicordHelper: Open Legacy Settings For V2 Settings --- src/equicordplugins/equicordHelper/index.tsx | 14 +++++++++++++- src/plugins/_core/settings.tsx | 9 --------- 2 files changed, 13 insertions(+), 10 deletions(-) diff --git a/src/equicordplugins/equicordHelper/index.tsx b/src/equicordplugins/equicordHelper/index.tsx index befa8a301..08c367b7e 100644 --- a/src/equicordplugins/equicordHelper/index.tsx +++ b/src/equicordplugins/equicordHelper/index.tsx @@ -113,7 +113,19 @@ export default definePlugin({ match: /null==\i\|\|/, replace: "true||$&" }, - } + }, + ...[ + ".DEVELOPER_SECTION,", + '"LegacySettingsSidebarItem"' + ].map(find => ({ + find, + replacement: [ + { + match: /\i\.\i\.isDeveloper/, + replace: "true" + }, + ] + })), ], renderMessageAccessory(props) { return ( diff --git a/src/plugins/_core/settings.tsx b/src/plugins/_core/settings.tsx index 826ec6735..cc2d02eed 100644 --- a/src/plugins/_core/settings.tsx +++ b/src/plugins/_core/settings.tsx @@ -68,15 +68,6 @@ export default definePlugin({ }, ], }, - { - find: ".DEVELOPER_SECTION,", - replacement: [ - { - match: /\i\.\i\.isDeveloper/, - replace: "true" - }, - ] - }, // Fix the settings cog context menu to work properly { find: "#{intl::USER_SETTINGS_ACTIONS_MENU_LABEL}",