aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/screens/suggestedPeople/SuggestedPeopleScreen.tsx12
1 files changed, 10 insertions, 2 deletions
diff --git a/src/screens/suggestedPeople/SuggestedPeopleScreen.tsx b/src/screens/suggestedPeople/SuggestedPeopleScreen.tsx
index d047d038..195604a3 100644
--- a/src/screens/suggestedPeople/SuggestedPeopleScreen.tsx
+++ b/src/screens/suggestedPeople/SuggestedPeopleScreen.tsx
@@ -11,6 +11,7 @@ import {
View,
} from 'react-native';
import {Image} from 'react-native-animatable';
+import {TouchableOpacity} from 'react-native-gesture-handler';
import Animated from 'react-native-reanimated';
import {useDispatch, useSelector, useStore} from 'react-redux';
import {TabsGradient, TaggsBar} from '../../components';
@@ -174,10 +175,17 @@ const SuggestedPeopleScreen: React.FC = () => {
<View style={styles.body}>
<View style={styles.marginManager}>
<View style={styles.addUserContainer}>
- <View style={styles.nameInfoContainer}>
+ <TouchableOpacity
+ onPress={() => {
+ navigation.push('Profile', {
+ userXId: data.user.id,
+ screenType,
+ });
+ }}
+ style={styles.nameInfoContainer}>
<Text style={styles.firstName}>{data.user.first_name}</Text>
<Text style={styles.username}>@{data.user.username}</Text>
- </View>
+ </TouchableOpacity>
{/* TODO: Finish me ?! */}
{/* <TouchableOpacity
activeOpacity={0.5}