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

Feature/update casing secret recovery phrase #2691

Merged
merged 9 commits into from
May 18, 2021
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ exports[`HintModal should render correctly 1`] = `
}
}
>
Do not use this to write your Secret Recovery phrase.
Do not use this to write your Secret Recovery Phrase.
</Text>
<TextInput
multiline={true}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ exports[`SeedphraseModal should render correctly 1`] = `
}
}
>
What is a ‘Secret recovery phrase
What is a ‘Secret Recovery Phrase
</Text>
<TouchableOpacity
hitSlop={
Expand Down Expand Up @@ -101,7 +101,7 @@ exports[`SeedphraseModal should render correctly 1`] = `
}
}
>
A Secret Recovery phrase is a set of twelve words that contains all the information about your wallet, including your funds. It’s like a secret code used to access your entire wallet.
A Secret Recovery Phrase is a set of twelve words that contains all the information about your wallet, including your funds. It’s like a secret code used to access your entire wallet.
</Text>
<Text
style={
Expand All @@ -116,7 +116,7 @@ exports[`SeedphraseModal should render correctly 1`] = `
}
}
>
You must keep your Secret Recovery phrase secret and safe. If someone gets your Secret Recovery phrase, they’ll gain control over your accounts.
You must keep your Secret Recovery Phrase secret and safe. If someone gets your Secret Recovery Phrase, they’ll gain control over your accounts.
</Text>
<Text
style={
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,7 @@ exports[`HintModal should render correctly 1`] = `
}
testID="skip-backup-text"
>
I understand that if I lose my Secret Recovery phrase I will not be able to access my wallet.
I understand that if I lose my Secret Recovery Phrase I will not be able to access my wallet.
</Text>
</View>
</View>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ exports[`AccountBackupStep1 should render correctly 1`] = `
Array [
"Create password",
"Secure wallet",
"Confirm Secret Recovery phrase",
"Confirm Secret Recovery Phrase",
]
}
/>
Expand Down Expand Up @@ -99,7 +99,7 @@ exports[`AccountBackupStep1 should render correctly 1`] = `
}
}
>
Secret Recovery phrase
Secret Recovery Phrase
</Text>

in a place you trust.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ exports[`AccountBackupStep1B should render correctly 1`] = `
Array [
"Create password",
"Secure wallet",
"Confirm Secret Recovery phrase",
"Confirm Secret Recovery Phrase",
]
}
/>
Expand Down Expand Up @@ -107,7 +107,7 @@ exports[`AccountBackupStep1B should render correctly 1`] = `
}
}
>
Secret Recovery phrase.
Secret Recovery Phrase.
</Text>
</Text>
</View>
Expand Down Expand Up @@ -189,7 +189,7 @@ exports[`AccountBackupStep1B should render correctly 1`] = `
}
}
>
Write down your Secret Recovery phrase on a piece of paper and store in a safe place.
Write down your Secret Recovery Phrase on a piece of paper and store in a safe place.
</Text>
<Text
style={
Expand Down Expand Up @@ -496,7 +496,7 @@ exports[`AccountBackupStep1B should render correctly 1`] = `
}
}
>
Don’t risk losing your funds. Protect your wallet by saving your Secret Recovery phrase in a place you trust.
Don’t risk losing your funds. Protect your wallet by saving your Secret Recovery Phrase in a place you trust.
<Text
style={
Object {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ exports[`ChoosePassword should render correctly 1`] = `
Array [
"Create password",
"Secure wallet",
"Confirm Secret Recovery phrase",
"Confirm Secret Recovery Phrase",
]
}
/>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ exports[`ImportFromSeed should render correctly 1`] = `
<View
style={
Object {
"width": "50%",
"width": "70%",
}
}
>
Expand All @@ -75,17 +75,18 @@ exports[`ImportFromSeed should render correctly 1`] = `
}
}
>
Secret recovery phrase
Secret Recovery Phrase
</Text>
</View>
<View
style={
Array [
Object {
"width": "50%",
"width": "70%",
},
Object {
"flexDirection": "row-reverse",
"width": "30%",
},
]
}
Expand Down Expand Up @@ -136,7 +137,7 @@ exports[`ImportFromSeed should render correctly 1`] = `
lineWidth={1}
onChangeText={[Function]}
onSubmitEditing={[Function]}
placeholder="Enter your Secret Recovery phrase here"
placeholder="Enter your Secret Recovery Phrase"
returnKeyType="next"
secureTextEntry={true}
style={
Expand Down Expand Up @@ -195,7 +196,7 @@ exports[`ImportFromSeed should render correctly 1`] = `
<View
style={
Object {
"width": "50%",
"width": "70%",
}
}
>
Expand All @@ -217,10 +218,11 @@ exports[`ImportFromSeed should render correctly 1`] = `
style={
Array [
Object {
"width": "50%",
"width": "70%",
},
Object {
"flexDirection": "row-reverse",
"width": "30%",
},
]
}
Expand Down
5 changes: 3 additions & 2 deletions app/components/Views/ImportFromSeed/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -72,10 +72,11 @@ const styles = StyleSheet.create({
alignItems: 'flex-end'
},
fieldCol: {
width: '50%'
width: '70%'
},
fieldColRight: {
flexDirection: 'row-reverse'
flexDirection: 'row-reverse',
width: '30%'
},
label: {
color: colors.black,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@ exports[`ImportPrivateKey should render correctly 1`] = `
}
}
>
Imported accounts are viewable in your wallet but are not recoverable with your MetaMask Secret Recovery phrase.
Imported accounts are viewable in your wallet but are not recoverable with your MetaMask Secret Recovery Phrase.
</Text>
</View>
<View
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ exports[`ManualBackupStep1 should render correctly 1`] = `
Array [
"Create Password",
"Secure wallet",
"Confirm Secret Recovery phrase",
"Confirm Secret Recovery Phrase",
]
}
/>
Expand Down Expand Up @@ -61,7 +61,7 @@ exports[`ManualBackupStep1 should render correctly 1`] = `
}
}
>
Write down your Secret Recovery phrase
Write down your Secret Recovery Phrase
</Text>
<View
style={
Expand All @@ -83,7 +83,7 @@ exports[`ManualBackupStep1 should render correctly 1`] = `
}
}
>
This is your Secret Recovery phrase. Write it down on a paper and keep it in a safe place. You'll be asked to re-enter this phrase (in order) on the next step.
This is your Secret Recovery Phrase. Write it down on a paper and keep it in a safe place. You'll be asked to re-enter this phrase (in order) on the next step.
</Text>
</View>
<View
Expand Down Expand Up @@ -538,7 +538,7 @@ exports[`ManualBackupStep1 should render correctly 1`] = `
}
}
>
Tap to reveal your Secret Recovery phrase
Tap to reveal your Secret Recovery Phrase
</Text>
<Text
style={
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ exports[`ManualBackupStep2 should render correctly 1`] = `
}
}
>
Confirm Secret Recovery phrase
Confirm Secret Recovery Phrase
</Text>
<View
style={
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ exports[`SecuritySettings should render correctly 1`] = `
}
}
>
Protect your wallet by saving your Secret Recovery phrase in various places like on a piece of paper, password manager and/or the cloud.
Protect your wallet by saving your Secret Recovery Phrase in various places like on a piece of paper, password manager and/or the cloud.
</Text>
<SettingsNotification
isHighlighted={false}
Expand All @@ -106,7 +106,7 @@ exports[`SecuritySettings should render correctly 1`] = `
]
}
>
Important! Secret recovery phrase not backed up
Important! Secret Recovery Phrase not backed up
</Text>
</SettingsNotification>
<StyledButton
Expand Down Expand Up @@ -164,7 +164,7 @@ exports[`SecuritySettings should render correctly 1`] = `
}
}
>
Choose a strong password to unlock MetaMask app on your device. If you lose this password, you will need your Secret recovery phrase to re-import your wallet.
Choose a strong password to unlock MetaMask app on your device. If you lose this password, you will need your Secret Recovery Phrase to re-import your wallet.
</Text>
<StyledButton
containerStyle={
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ exports[`Settings should render correctly 1`] = `
title="General"
/>
<SettingsDrawer
description="Privacy settings, MetaMetrics, private key and wallet Secret Recovery phrase"
description="Privacy settings, MetaMetrics, private key and wallet Secret Recovery Phrase"
onPress={[Function]}
title="Security & Privacy"
warning={false}
Expand Down
Loading