From decacdda9f9f7e7b7649422ed86005fe7ab4adcf Mon Sep 17 00:00:00 2001 From: Ivan Chen Date: Mon, 29 Mar 2021 14:32:06 -0400 Subject: fixed taggs bar and added padding for private accounts --- src/components/profile/Content.tsx | 26 +++++++++++--------------- 1 file changed, 11 insertions(+), 15 deletions(-) (limited to 'src') diff --git a/src/components/profile/Content.tsx b/src/components/profile/Content.tsx index cf2b7d28..c9a87ad1 100644 --- a/src/components/profile/Content.tsx +++ b/src/components/profile/Content.tsx @@ -128,7 +128,7 @@ const Content: React.FC = ({y, userXId, screenType}) => { return ( handleScroll(e)} bounces={shouldBounce} @@ -152,22 +152,14 @@ const Content: React.FC = ({y, userXId, screenType}) => { isBlocked, }} /> + {canViewProfile(state, userXId, screenType) ? ( - <> - - - + ) : ( - <> - - - + )} ); @@ -178,6 +170,10 @@ const styles = StyleSheet.create({ backgroundColor: '#fff', flex: 1, }, + contentContainer: { + flexGrow: 1, + paddingBottom: SCREEN_HEIGHT * 0.1, + }, }); export default Content; -- cgit v1.2.3-70-g09d2