Changeset View
Changeset View
Standalone View
Standalone View
native/account/registration/connect-ethereum.react.js
Show First 20 Lines • Show All 44 Lines • ▼ Show 20 Lines | const isNerdMode = | ||||
props.route.params.userSelections.coolOrNerdMode === 'nerd'; | props.route.params.userSelections.coolOrNerdMode === 'nerd'; | ||||
const styles = useStyles(unboundStyles); | const styles = useStyles(unboundStyles); | ||||
let body; | let body; | ||||
if (!isNerdMode) { | if (!isNerdMode) { | ||||
body = ( | body = ( | ||||
<Text style={styles.body}> | <Text style={styles.body}> | ||||
Connecting your Ethereum wallet allows you to use your ENS name and | Connecting your Ethereum wallet allows you to use your ENS name and | ||||
avatar in the app. You'll also be able to log in with your wallet | avatar in the app. You’ll also be able to log in with your wallet | ||||
instead of a password. | instead of a password. | ||||
</Text> | </Text> | ||||
); | ); | ||||
} else { | } else { | ||||
body = ( | body = ( | ||||
<> | <> | ||||
<Text style={styles.body}> | <Text style={styles.body}> | ||||
Connecting your Ethereum wallet has three benefits: | Connecting your Ethereum wallet has three benefits: | ||||
</Text> | </Text> | ||||
<View style={styles.list}> | <View style={styles.list}> | ||||
<View style={styles.listItem}> | <View style={styles.listItem}> | ||||
<Text style={styles.listItemNumber}>{'1. '}</Text> | <Text style={styles.listItemNumber}>{'1. '}</Text> | ||||
<Text style={styles.listItemContent}> | <Text style={styles.listItemContent}> | ||||
Your peers will be able to cryptographically verify that your Comm | Your peers will be able to cryptographically verify that your Comm | ||||
account is associated with your Ethereum wallet. | account is associated with your Ethereum wallet. | ||||
</Text> | </Text> | ||||
</View> | </View> | ||||
<View style={styles.listItem}> | <View style={styles.listItem}> | ||||
<Text style={styles.listItemNumber}>{'2. '}</Text> | <Text style={styles.listItemNumber}>{'2. '}</Text> | ||||
<Text style={styles.listItemContent}> | <Text style={styles.listItemContent}> | ||||
You'll be able to use your ENS name and avatar in the app. | You’ll be able to use your ENS name and avatar in the app. | ||||
</Text> | </Text> | ||||
</View> | </View> | ||||
<View style={styles.listItem}> | <View style={styles.listItem}> | ||||
<Text style={styles.listItemNumber}>{'3. '}</Text> | <Text style={styles.listItemNumber}>{'3. '}</Text> | ||||
<Text style={styles.listItemContent}> | <Text style={styles.listItemContent}> | ||||
You can choose to skip setting a password, and to log in with your | You can choose to skip setting a password, and to log in with your | ||||
Ethereum wallet instead. | Ethereum wallet instead. | ||||
</Text> | </Text> | ||||
▲ Show 20 Lines • Show All 137 Lines • Show Last 20 Lines |