mirror of
https://github.com/kremalicious/metamask-extension.git
synced 2024-12-23 09:52:26 +01:00
Adding copy to SRP import screen to warn users (#12400)
* Added copy to SRP import screen to warn users that there current wallet will be replaced * Fixing test-lint error * Remove padding and edit warning message
This commit is contained in:
parent
f733857388
commit
5fea5fac8c
@ -1969,6 +1969,9 @@
|
||||
"secretPhrase": {
|
||||
"message": "Only the first account on this wallet will auto load. After completing this process, to add additional accounts, click the drop down menu, then select Create Account."
|
||||
},
|
||||
"secretPhraseWarning": {
|
||||
"message": "If you restore using another Secret Recovery Phrase, your current wallet, accounts and assets will be removed from this app permanently. This action cannot be undone."
|
||||
},
|
||||
"secretRecoveryPhrase": {
|
||||
"message": "Secret Recovery Phrase"
|
||||
},
|
||||
|
@ -113,10 +113,18 @@
|
||||
color: #1b344d;
|
||||
}
|
||||
|
||||
&__selector-typography {
|
||||
line-height: 22px;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
color: #000;
|
||||
margin-top: 18px;
|
||||
}
|
||||
|
||||
&__input-wrapper {
|
||||
display: flex;
|
||||
flex-flow: column nowrap;
|
||||
margin-top: 30px;
|
||||
margin-top: 18px;
|
||||
}
|
||||
|
||||
&__input {
|
||||
|
@ -163,6 +163,9 @@ class RestoreVaultPage extends Component {
|
||||
<div className="import-account__selector-label">
|
||||
{this.context.t('secretPhrase')}
|
||||
</div>
|
||||
<div className="import-account__selector-typography">
|
||||
{this.context.t('secretPhraseWarning')}
|
||||
</div>
|
||||
<div className="import-account__input-wrapper">
|
||||
<label className="import-account__input-label">
|
||||
{this.context.t('walletSeedRestore')}
|
||||
|
Loading…
Reference in New Issue
Block a user