Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[5.2.0][FIX] Secret Recovery Phrase text alignment #4369

Merged
merged 2 commits into from
May 23, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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