diff options
author | Ivan Chen <ivan@tagg.id> | 2021-03-20 14:31:24 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-03-20 14:31:24 -0400 |
commit | 463b8534db2103a3c7b301aaff89de192f98bc90 (patch) | |
tree | 74fa9f373087f64457fe41e479dbfda9153dec53 /src | |
parent | e389b1a1178b09e9367fb53ce53ad88011940639 (diff) | |
parent | 57529ed6e4f797e5e5a80983e498cf3f7309d052 (diff) |
Merge pull request #321 from IvanIFChen/hotfix-string-bugs
done
Diffstat (limited to 'src')
-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, }, }); |