mirror of
https://github.com/kremalicious/metamask-extension.git
synced 2024-12-23 09:52:26 +01:00
User should be able to search setting to batch account balance request (#16887)
This commit is contained in:
parent
c4f9dcc3a5
commit
4e272beb26
@ -183,6 +183,13 @@ export const SETTINGS_CONSTANTS = [
|
||||
route: `${SECURITY_ROUTE}#metrametrics`,
|
||||
icon: 'fa fa-lock',
|
||||
},
|
||||
{
|
||||
tabMessage: (t) => t('securityAndPrivacy'),
|
||||
sectionMessage: (t) => t('useMultiAccountBalanceChecker'),
|
||||
descriptionMessage: (t) => t('useMultiAccountBalanceCheckerDescription'),
|
||||
route: `${SECURITY_ROUTE}#multi-account-balance-checker`,
|
||||
icon: 'fa fa-lock',
|
||||
},
|
||||
{
|
||||
tabMessage: (t) => t('alerts'),
|
||||
sectionMessage: (t) => t('alertSettingsUnconnectedAccount'),
|
||||
|
@ -169,7 +169,7 @@ describe('Settings Search Utils', () => {
|
||||
it('should get good security & privacy section number', () => {
|
||||
expect(
|
||||
getNumberOfSettingsInSection(t, t('securityAndPrivacy')),
|
||||
).toStrictEqual(4);
|
||||
).toStrictEqual(5);
|
||||
});
|
||||
|
||||
it('should get good alerts section number', () => {
|
||||
|
@ -173,7 +173,7 @@ export default class SecurityTab extends PureComponent {
|
||||
this.props;
|
||||
|
||||
return (
|
||||
<div ref={this.settingsRefs[3]} className="settings-page__content-row">
|
||||
<div ref={this.settingsRefs[4]} className="settings-page__content-row">
|
||||
<div className="settings-page__content-item">
|
||||
<span>{t('useMultiAccountBalanceChecker')}</span>
|
||||
<div className="settings-page__content-description">
|
||||
|
Loading…
Reference in New Issue
Block a user