diff options
Diffstat (limited to 'src/screens')
-rw-r--r-- | src/screens/profile/FriendsListScreen.tsx | 14 |
1 files changed, 10 insertions, 4 deletions
diff --git a/src/screens/profile/FriendsListScreen.tsx b/src/screens/profile/FriendsListScreen.tsx index 3016c767..886ab9c4 100644 --- a/src/screens/profile/FriendsListScreen.tsx +++ b/src/screens/profile/FriendsListScreen.tsx @@ -1,6 +1,12 @@ import {RouteProp} from '@react-navigation/native'; import React from 'react'; -import {SafeAreaView, StatusBar, StyleSheet, View} from 'react-native'; +import { + SafeAreaView, + ScrollView, + StatusBar, + StyleSheet, + View, +} from 'react-native'; import {useSelector} from 'react-redux'; import {Friends, TabsGradient} from '../../components'; import {MainStackParams} from '../../routes'; @@ -26,9 +32,9 @@ const FriendsListScreen: React.FC<FriendsListScreenProps> = ({route}) => { <> <SafeAreaView> <StatusBar barStyle="dark-content" /> - <View style={styles.body}> + <ScrollView style={styles.body}> <Friends result={friends} screenType={screenType} userId={userXId} /> - </View> + </ScrollView> </SafeAreaView> <TabsGradient /> </> @@ -46,7 +52,7 @@ const styles = StyleSheet.create({ body: { marginTop: HeaderHeight, width: SCREEN_WIDTH, - height: SCREEN_HEIGHT * 0.8, + height: SCREEN_HEIGHT - HeaderHeight, }, }); |