Update About Screen

This commit is contained in:
docjyJ 2020-09-03 12:45:40 +02:00
parent 70dcb5fe97
commit e819e94395

View file

@ -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,
}, },
]; ];