forked from vergnet/application-amicale
Update About Screen
This commit is contained in:
parent
70dcb5fe97
commit
e819e94395
1 changed files with 5 additions and 18 deletions
|
@ -125,20 +125,6 @@ class AboutScreen extends React.Component<PropsType> {
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
you: {
|
|
||||||
name: i18n.t('screens.about.user.youName'),
|
|
||||||
message: i18n.t('screens.about.user.you'),
|
|
||||||
icon: 'hand-pointing-right',
|
|
||||||
btnTrool: {
|
|
||||||
title: '',
|
|
||||||
icon: 'git',
|
|
||||||
onPress: () => {
|
|
||||||
openWebLink(links.git);
|
|
||||||
},
|
|
||||||
},
|
|
||||||
btnLinkedin: null,
|
|
||||||
btnMail: null,
|
|
||||||
},
|
|
||||||
};
|
};
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@ -259,11 +245,12 @@ class AboutScreen extends React.Component<PropsType> {
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
onPressCallback: () => {
|
onPressCallback: () => {
|
||||||
this.onListItemPress(this.teamUsers.you);
|
const {navigation} = this.props;
|
||||||
|
navigation.navigate('feedback');
|
||||||
},
|
},
|
||||||
icon: this.teamUsers.you.icon,
|
icon: 'hand-pointing-right',
|
||||||
text: this.teamUsers.you.name,
|
text: i18n.t('screens.about.user.you'),
|
||||||
showChevron: false,
|
showChevron: true,
|
||||||
},
|
},
|
||||||
];
|
];
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue