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}",