Skip to content

Commit

Permalink
fix: removed placeholders in on boarding screens
Browse files Browse the repository at this point in the history
  • Loading branch information
glouvigny committed Jan 30, 2019
1 parent 74fc585 commit c9b7968
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 14 deletions.
Expand Up @@ -17,17 +17,14 @@ const Contacts = ({ navigation, currentUser, t }) =>
<Text style={onboardingStyle.help}>{t('onboarding.contacts.link-help')}</Text>
<Text style={onboardingStyle.disclaimer}>{t('onboarding.contacts.link-disclaimer')}</Text>
<View style={{ height: 60, flexDirection: 'row' }}>
<SkipButton>{' '}</SkipButton>
<NextButton onPress={() => shareLinkSelf({
id: extractPublicKeyFromId(currentUser.id),
displayName: currentUser.displayName,
})}>{t('onboarding.contacts.link-share')}</NextButton>
</View>
<Text style={onboardingStyle.help}>{t('onboarding.contacts.phone-help')}</Text>
<Text style={onboardingStyle.disclaimer}>{t('onboarding.contacts.phone-disclaimer')}</Text>
<View style={{ height: 60, flexDirection: 'row' }}>
<SkipButton onPress={() => navigation.navigate('onboarding/backup')}>{t('skip')}</SkipButton>
<NextButton>{t('onboarding.contacts.phone-link')}</NextButton>
<SkipButton />
<NextButton onPress={() => navigation.navigate('onboarding/ready')}>{t('next')}</NextButton>
</View>
</Flex.Rows>
</ScrollView>
Expand Down
Expand Up @@ -2,7 +2,6 @@ import { createMaterialTopTabNavigator } from 'react-navigation'
import Welcome from './Welcome'
import Notifications from './Notifications'
import Contacts from './Contacts'
import Backup from './Backup'
import Ready from './Ready'
import { tabIcon } from '../../../../helpers/views'
import { tabNavigatorOptions } from '../../../../constants/styling'
Expand Down Expand Up @@ -31,13 +30,6 @@ export default createMaterialTopTabNavigator(
title: I18n.t('onboarding.contacts.tab'),
}),
},
'onboarding/backup': {
screen: Backup,
navigationOptions: () => ({
tabBarIcon: tabIcon('archive'),
title: I18n.t('onboarding.backup.tab'),
}),
},
'onboarding/ready': {
screen: Ready,
navigationOptions: () => ({
Expand Down
2 changes: 1 addition & 1 deletion client/react-native/common/i18n/fr/messages.json
Expand Up @@ -52,7 +52,7 @@
"ready": {
"tab": "Configuration terminée",
"title": "Vous êtes paré pour le départ",
"help": "Nous espérons que vous apprécirez Berty ! N'hésitez pas à contacter l'équipe si vous avez le moindre souci ou une question à nous poser."
"help": "Nous espérons que vous apprécierez Berty ! N'hésitez pas à contacter l'équipe si vous avez le moindre souci ou une question à nous poser."
}
},
"settings": {
Expand Down

0 comments on commit c9b7968

Please sign in to comment.