Skip to content

Commit

Permalink
[5.2.0][FIX] Secret Recovery Phrase text alignment (#4369)
Browse files Browse the repository at this point in the history
  • Loading branch information
tommasini authored May 23, 2022
1 parent 13ab998 commit 3ca296c
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 19 deletions.
28 changes: 14 additions & 14 deletions app/components/Views/RevealPrivateCredential/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -588,25 +588,25 @@ class RevealPrivateCredential extends PureComponent {
const { styles } = this.getStyles();
return (
<Text style={styles.normalText}>
{strings('reveal_credential.seed_phrase_explanation')[0]}
<TouchableOpacity onPress={() => Linking.openURL(SRP_URL)}>
<Text style={[styles.blueText, styles.link]}>
{strings('reveal_credential.seed_phrase_explanation')[1]}
</Text>
</TouchableOpacity>
{strings('reveal_credential.seed_phrase_explanation')[2]}
{strings('reveal_credential.seed_phrase_explanation')[0]}{' '}
<Text
style={[styles.blueText, styles.link]}
onPress={() => Linking.openURL(SRP_URL)}
>
{strings('reveal_credential.seed_phrase_explanation')[1]}
</Text>{' '}
{strings('reveal_credential.seed_phrase_explanation')[2]}{' '}
<Text style={styles.boldText}>
{strings('reveal_credential.seed_phrase_explanation')[3]}
</Text>
{strings('reveal_credential.seed_phrase_explanation')[4]}
<TouchableOpacity
{strings('reveal_credential.seed_phrase_explanation')[4]}{' '}
<Text
style={[styles.blueText, styles.link]}
onPress={() => Linking.openURL(NON_CUSTODIAL_WALLET_URL)}
>
<Text style={[styles.blueText, styles.link]}>
{strings('reveal_credential.seed_phrase_explanation')[5]}
</Text>
</TouchableOpacity>
{strings('reveal_credential.seed_phrase_explanation')[6]}
{strings('reveal_credential.seed_phrase_explanation')[5]}{' '}
</Text>
{strings('reveal_credential.seed_phrase_explanation')[6]}{' '}
<Text style={styles.boldText}>
{strings('reveal_credential.seed_phrase_explanation')[7]}
</Text>
Expand Down
10 changes: 5 additions & 5 deletions locales/languages/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -599,13 +599,13 @@
"done": "Done",
"confirm": "Next",
"seed_phrase_explanation": [
"The ",
"The",
"Secret Recovery Phrase (SRP)",
" gives ",
"gives",
"full access to your wallet, funds and accounts.\n\n",
"MetaMask is a ",
"non-custodial wallet",
". That means, ",
"MetaMask is a",
"non-custodial wallet.",
"That means,",
"you are the owner of your SRP."
],
"private_key_explanation": "Save it somewhere safe and secret.",
Expand Down

0 comments on commit 3ca296c

Please sign in to comment.