mirror of
https://github.com/kremalicious/metamask-extension.git
synced 2024-11-26 12:29:06 +01:00
Add search information for Theme dropdown (#14476)
This commit is contained in:
parent
57e7d05bfa
commit
7325549940
@ -306,6 +306,13 @@ export const SETTINGS_CONSTANTS = [
|
||||
route: `${EXPERIMENTAL_ROUTE}#enable-advanced-gas`,
|
||||
icon: 'fa fa-flask',
|
||||
},
|
||||
{
|
||||
tabMessage: (t) => t('experimental'),
|
||||
sectionMessage: (t) => t('theme'),
|
||||
descriptionMessage: (t) => t('themeDescription'),
|
||||
route: `${EXPERIMENTAL_ROUTE}#theme`,
|
||||
icon: 'fa fa-flask',
|
||||
},
|
||||
{
|
||||
// TODO: Remove during TOKEN_DETECTION_V2 feature flag clean up
|
||||
tabMessage: (t) => t('advanced'),
|
||||
|
@ -195,7 +195,7 @@ describe('Settings Search Utils', () => {
|
||||
|
||||
it('should get good experimental section number', () => {
|
||||
expect(getNumberOfSettingsInSection(t, t('experimental'))).toStrictEqual(
|
||||
2,
|
||||
3,
|
||||
);
|
||||
});
|
||||
|
||||
|
@ -263,7 +263,7 @@ export default class ExperimentalTab extends PureComponent {
|
||||
};
|
||||
|
||||
return (
|
||||
<div className="settings-page__content-row">
|
||||
<div ref={this.settingsRefs[4]} className="settings-page__content-row">
|
||||
<div className="settings-page__content-item">
|
||||
<span>{this.context.t('theme')}</span>
|
||||
<div className="settings-page__content-description">
|
||||
|
Loading…
Reference in New Issue
Block a user