EquicordHelper: Open Legacy Settings For V2 Settings

This commit is contained in:
thororen1234 2025-10-21 16:31:42 -04:00
parent 94299005ad
commit 23ac3e735e
No known key found for this signature in database
2 changed files with 13 additions and 10 deletions

View file

@ -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 (

View file

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