Browse Source

Update About Screen

docjyJ 1 year ago
parent
commit
e819e94395
1 changed files with 5 additions and 18 deletions
  1. 5
    18
      src/screens/About/AboutScreen.js

+ 5
- 18
src/screens/About/AboutScreen.js View File

@@ -125,20 +125,6 @@ class AboutScreen extends React.Component<PropsType> {
125 125
         },
126 126
       },
127 127
     },
128
-    you: {
129
-      name: i18n.t('screens.about.user.youName'),
130
-      message: i18n.t('screens.about.user.you'),
131
-      icon: 'hand-pointing-right',
132
-      btnTrool: {
133
-        title: '',
134
-        icon: 'git',
135
-        onPress: () => {
136
-          openWebLink(links.git);
137
-        },
138
-      },
139
-      btnLinkedin: null,
140
-      btnMail: null,
141
-    },
142 128
   };
143 129
 
144 130
   /**
@@ -259,11 +245,12 @@ class AboutScreen extends React.Component<PropsType> {
259 245
     },
260 246
     {
261 247
       onPressCallback: () => {
262
-        this.onListItemPress(this.teamUsers.you);
248
+        const {navigation} = this.props;
249
+        navigation.navigate('feedback');
263 250
       },
264
-      icon: this.teamUsers.you.icon,
265
-      text: this.teamUsers.you.name,
266
-      showChevron: false,
251
+      icon: 'hand-pointing-right',
252
+      text: i18n.t('screens.about.user.you'),
253
+      showChevron: true,
267 254
     },
268 255
   ];
269 256
 

Loading…
Cancel
Save