aboutsummaryrefslogtreecommitdiff
path: root/src/screens
diff options
context:
space:
mode:
authorIvan Chen <ivan@thetaggid.com>2021-02-06 21:23:07 -0500
committerGitHub <noreply@github.com>2021-02-06 21:23:07 -0500
commit34919450687d47b27b4858ed5bef26f8636d3d99 (patch)
tree6b8de9733fbbaa794cdeea4cd16c377a1912dcd0 /src/screens
parent09ed0b7c02a0848ea970c096b9c9007af35f1d0b (diff)
parentbeefe8db13c026811c8beae7c05b49538c9afc4c (diff)
Merge pull request #226 from ashmgarv/friends-bug-fix
issues fixed
Diffstat (limited to 'src/screens')
-rw-r--r--src/screens/profile/FriendsListScreen.tsx8
1 files changed, 3 insertions, 5 deletions
diff --git a/src/screens/profile/FriendsListScreen.tsx b/src/screens/profile/FriendsListScreen.tsx
index 26d19e60..b2123f44 100644
--- a/src/screens/profile/FriendsListScreen.tsx
+++ b/src/screens/profile/FriendsListScreen.tsx
@@ -31,7 +31,7 @@ const FriendsListScreen: React.FC<FriendsListScreenProps> = ({route}) => {
: useSelector((state: RootState) => state.friends);
return (
- <View style={styles.background}>
+ <>
<SafeAreaView>
<View style={styles.header}>
<TouchableOpacity
@@ -43,12 +43,10 @@ const FriendsListScreen: React.FC<FriendsListScreenProps> = ({route}) => {
</TouchableOpacity>
<Text style={styles.headerText}>Friends</Text>
</View>
- <View style={styles.body}>
- <Friends result={friends} screenType={screenType} userId={userXId} />
- </View>
+ <Friends result={friends} screenType={screenType} userId={userXId} />
</SafeAreaView>
<TabsGradient />
- </View>
+ </>
);
};