diff --git a/src/localization/locales/en/translation.json b/src/localization/locales/en/translation.json
index dd6065f2..b9ebff07 100644
--- a/src/localization/locales/en/translation.json
+++ b/src/localization/locales/en/translation.json
@@ -32,10 +32,10 @@
"Active Wallet:": "Active Wallet:",
"Activity": "Activity",
"Add one recovery method to continue.": "Add one recovery method to continue.",
- "Add Account": "Add Account",
"Add Custom Token": "Add Custom Token",
"Add Delegator": "Add Delegator",
"Add Network": "Add Network",
+ "Add New Address": "Add New Address",
"Add New Asset?": "Add New Asset?",
"Add New Network?": "Add New Network?",
"Add Next": "Add Next",
@@ -47,7 +47,6 @@
"Add Subnet Validator": "Add Subnet Validator",
"Add Token": "Add Token",
"Add Validator": "Add Validator",
- "Add Wallet": "Add Wallet",
"Add Wallet with Keystore File": "Add Wallet with Keystore File",
"Add Wallet with Ledger": "Add Wallet with Ledger",
"Add Wallet with Recovery Phrase": "Add Wallet with Recovery Phrase",
@@ -411,13 +410,10 @@
"If you do not have the latest Avalanche App, please add it through the Ledger Live app manager.": "If you do not have the latest Avalanche App, please add it through the Ledger Live app manager.",
"If you ever change browsers or move computers, you will need this Secret Recovery Phrase to access your accounts. Save them somewhere safe and secret.": "If you ever change browsers or move computers, you will need this Secret Recovery Phrase to access your accounts. Save them somewhere safe and secret.",
"Import": "Import",
- "Import Account": "Import Account",
"Import Details": "Import Details",
"Import Duplicate Account?": "Import Duplicate Account?",
"Import Keystore File": "Import Keystore File",
"Import Private Key": "Import Private Key",
- "Import with Fireblocks": "Import with Fireblocks",
- "Import with Wallet Connect": "Import with Wallet Connect",
"Imported": "Imported",
"Imported Private Key": "Imported Private Key",
"In order for this network to be fully functional, you need to provide your Glacier API key. You will be prompted to do so upon approval.": "In order for this network to be fully functional, you need to provide your Glacier API key. You will be prompted to do so upon approval.",
@@ -463,6 +459,7 @@
"Keystone": "Keystone",
"Keystone Support": "Keystone Support",
"Keystone {{number}}": "Keystone {{number}}",
+ "Keystore File": "Keystore File",
"Korean": "Korean",
"Language": "Language",
"Learn More": "Learn More",
diff --git a/src/pages/Accounts/components/AccountsActionButton.tsx b/src/pages/Accounts/components/AccountsActionButton.tsx
index 35eea5ad..ff7d6c2c 100644
--- a/src/pages/Accounts/components/AccountsActionButton.tsx
+++ b/src/pages/Accounts/components/AccountsActionButton.tsx
@@ -15,7 +15,7 @@ import {
ListIcon,
Typography,
TypographyProps,
- PlusIcon,
+ LedgerIcon,
} from '@avalabs/core-k2-components';
import { useCallback, useMemo, useRef, useState } from 'react';
import { useTranslation } from 'react-i18next';
@@ -66,21 +66,15 @@ const RoundedButtonGroup = styled(ButtonGroup)`
}
`;
-const MenuSubheader = (props: TypographyProps) => (
+const MenuHeader = (props: TypographyProps) => (
);
-const WALLET_IMPORT_FLAGS = [
- FeatureGates.ADD_WALLET_WITH_SEEDPHRASE,
- FeatureGates.ADD_WALLET_WITH_KEYSTORE_FILE,
-];
-
export const AccountsActionButton = ({
isLoading,
onAddNewAccount,
@@ -142,10 +136,6 @@ export const AccountsActionButton = ({
return '';
}, [t, network]);
- const isAnyWalletImportAvailable = WALLET_IMPORT_FLAGS.some(
- (flag) => featureFlags[flag],
- );
-
return (
}
>
- {t('Add Account')}
+ {t('Add New Address')}
@@ -202,16 +191,18 @@ export const AccountsActionButton = ({
py: 0.5,
mb: 1,
overflow: 'hidden',
- backgroundColor: 'grey.800',
+ backgroundColor: 'grey.850',
+ width: 272,
+ boxShadow: '0px 4px 24px 0px rgba(0, 0, 0, 0.60)',
}}
>
- {t('Import Account')}
+ Add Address via
- {t('Import Private Key')}
+ {t('Private Key')}
{featureFlags[FeatureGates.IMPORT_WALLET_CONNECT] && (
- {t('Import with Wallet Connect')}
+ {t('Wallet Connect')}
)}
{featureFlags[FeatureGates.IMPORT_FIREBLOCKS] && (
@@ -237,39 +228,37 @@ export const AccountsActionButton = ({
disabled={Boolean(fireblocksDisabledReason)}
>
- {t('Import with Fireblocks')}
+ {t('Fireblocks')}
)}
- {isAnyWalletImportAvailable && (
- {t('Add Wallet')}
- )}
{featureFlags[FeatureGates.ADD_WALLET_WITH_SEEDPHRASE] && (
- {t('Add Wallet with Recovery Phrase')}
+ {t('Recovery Phrase')}
)}
- {featureFlags[FeatureGates.ADD_WALLET_WITH_KEYSTORE_FILE] && (
+ {featureFlags[FeatureGates.ADD_WALLET_WITH_LEDGER] && (
-
- {t('Add Wallet with Keystore File')}
+
+ {t('Ledger')}
)}
- {featureFlags[FeatureGates.ADD_WALLET_WITH_LEDGER] && (
+ {featureFlags[FeatureGates.ADD_WALLET_WITH_KEYSTORE_FILE] && (
+ {/*TODO: replace to the KeystoreIcon*/}
- {t('Add Wallet with Ledger')}
+ {t('Keystore File')}
)}