aboutsummaryrefslogtreecommitdiff
path: root/src/components/profile/Friends.tsx
diff options
context:
space:
mode:
authorIvan Chen <ivan@thetaggid.com>2021-02-06 21:23:07 -0500
committerGitHub <noreply@github.com>2021-02-06 21:23:07 -0500
commit34919450687d47b27b4858ed5bef26f8636d3d99 (patch)
tree6b8de9733fbbaa794cdeea4cd16c377a1912dcd0 /src/components/profile/Friends.tsx
parent09ed0b7c02a0848ea970c096b9c9007af35f1d0b (diff)
parentbeefe8db13c026811c8beae7c05b49538c9afc4c (diff)
Merge pull request #226 from ashmgarv/friends-bug-fix
issues fixed
Diffstat (limited to 'src/components/profile/Friends.tsx')
-rw-r--r--src/components/profile/Friends.tsx9
1 files changed, 3 insertions, 6 deletions
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<FriendsProps> = ({result, screenType, userId}) => {
return (
<>
<View style={styles.subheader}>
- <Text style={styles.subheaderText}>Friends</Text>
+ {/* <Text style={styles.subheaderText}>Friends</Text> */}
</View>
<ScrollView
keyboardShouldPersistTaps={'always'}
- stickyHeaderIndices={[4]}
style={styles.scrollView}
contentContainerStyle={styles.scrollViewContent}
showsVerticalScrollIndicator={false}>
@@ -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',