From beefe8db13c026811c8beae7c05b49538c9afc4c Mon Sep 17 00:00:00 2001 From: Shravya Ramesh Date: Sat, 6 Feb 2021 16:17:49 -0800 Subject: issues fixed --- src/components/profile/Friends.tsx | 9 +++------ src/screens/profile/FriendsListScreen.tsx | 8 +++----- 2 files changed, 6 insertions(+), 11 deletions(-) (limited to 'src') diff --git a/src/components/profile/Friends.tsx b/src/components/profile/Friends.tsx index 9b9e5302..da289e8a 100644 --- a/src/components/profile/Friends.tsx +++ b/src/components/profile/Friends.tsx @@ -26,11 +26,10 @@ const Friends: React.FC = ({result, screenType, userId}) => { return ( <> - Friends + {/* Friends */} @@ -64,20 +63,18 @@ const styles = StyleSheet.create({ flexDirection: 'column', alignSelf: 'center', width: SCREEN_WIDTH * 0.85, - height: SCREEN_HEIGHT, }, scrollViewContent: { alignSelf: 'center', - paddingBottom: SCREEN_HEIGHT / 15, + paddingBottom: SCREEN_HEIGHT / 7, width: SCREEN_WIDTH * 0.85, - height: SCREEN_HEIGHT * 0.75, marginTop: '1%', }, header: {flexDirection: 'row'}, subheader: { alignSelf: 'center', width: SCREEN_WIDTH * 0.85, - marginVertical: '3%', + marginVertical: '1%', }, subheaderText: { color: '#828282', 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 = ({route}) => { : useSelector((state: RootState) => state.friends); return ( - + <> = ({route}) => { Friends - - - + - + ); }; -- cgit v1.2.3-70-g09d2