EquicordHelper: Open Legacy Settings For V2 Settings
This commit is contained in:
parent
94299005ad
commit
23ac3e735e
2 changed files with 13 additions and 10 deletions
|
|
@ -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 (
|
||||
|
|
|
|||
|
|
@ -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}",
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue