diff options
-rw-r--r-- | src/components/notifications/NotificationPrompts.tsx | 2 | ||||
-rw-r--r-- | src/screens/profile/FriendsListScreen.tsx | 14 |
2 files changed, 11 insertions, 5 deletions
diff --git a/src/components/notifications/NotificationPrompts.tsx b/src/components/notifications/NotificationPrompts.tsx index 03502b27..dc27925b 100644 --- a/src/components/notifications/NotificationPrompts.tsx +++ b/src/components/notifications/NotificationPrompts.tsx @@ -7,7 +7,7 @@ export const InviteFriendsPrompt: React.FC = () => { <TaggPrompt messageHeader={'Invite Friends To Tagg!'} messageBody={ - 'A new feature that lets you invite your friends to Tagg. \nClick on yourfriends list to do so!' + 'A new feature that lets you invite your friends to Tagg. \nClick on your friends list to do so!' } logoType={'invite_friends'} hideCloseButton={true} 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, }, }); |