diff options
Diffstat (limited to 'src/screens')
-rw-r--r-- | src/screens/profile/FriendsListScreen.tsx | 8 |
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> + </> ); }; |