From e819e94395ab92abf1cf5e901e267f489ca615c1 Mon Sep 17 00:00:00 2001 From: docjyJ Date: Thu, 3 Sep 2020 12:45:40 +0200 Subject: [PATCH] Update About Screen --- src/screens/About/AboutScreen.js | 23 +++++------------------ 1 file changed, 5 insertions(+), 18 deletions(-) diff --git a/src/screens/About/AboutScreen.js b/src/screens/About/AboutScreen.js index 4234417..4a11bb4 100644 --- a/src/screens/About/AboutScreen.js +++ b/src/screens/About/AboutScreen.js @@ -125,20 +125,6 @@ class AboutScreen extends React.Component { }, }, }, - 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 { }, { onPressCallback: () => { - this.onListItemPress(this.teamUsers.you); + const {navigation} = this.props; + navigation.navigate('feedback'); }, - icon: this.teamUsers.you.icon, - text: this.teamUsers.you.name, - showChevron: false, + icon: 'hand-pointing-right', + text: i18n.t('screens.about.user.you'), + showChevron: true, }, ];