aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/components/common/FriendsButton.tsx4
-rw-r--r--src/components/profile/Friends.tsx9
-rw-r--r--src/screens/onboarding/AddWaitlistUserScreen.tsx1
-rw-r--r--src/screens/profile/FriendsListScreen.tsx8
4 files changed, 8 insertions, 14 deletions
diff --git a/src/components/common/FriendsButton.tsx b/src/components/common/FriendsButton.tsx
index 6ef23a96..c7f56e2d 100644
--- a/src/components/common/FriendsButton.tsx
+++ b/src/components/common/FriendsButton.tsx
@@ -75,7 +75,7 @@ const styles = StyleSheet.create({
height: SCREEN_WIDTH * 0.075,
borderColor: TAGG_LIGHT_BLUE,
borderWidth: 2,
- borderRadius: 0,
+ borderRadius: 3,
marginRight: '2%',
marginLeft: '1%',
padding: 0,
@@ -101,7 +101,7 @@ const styles = StyleSheet.create({
padding: 0,
borderWidth: 2,
borderColor: TAGG_LIGHT_BLUE,
- borderRadius: 0,
+ borderRadius: 3,
marginRight: '2%',
marginLeft: '1%',
backgroundColor: TAGG_LIGHT_BLUE,
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',
diff --git a/src/screens/onboarding/AddWaitlistUserScreen.tsx b/src/screens/onboarding/AddWaitlistUserScreen.tsx
index 1c13ffb5..489c30f1 100644
--- a/src/screens/onboarding/AddWaitlistUserScreen.tsx
+++ b/src/screens/onboarding/AddWaitlistUserScreen.tsx
@@ -13,7 +13,6 @@ import {
ArrowButton,
Background,
LoadingIndicator,
- SubmitButton,
TaggInput,
} from '../../components';
import {nameRegex, phoneRegex} from '../../constants';
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<FriendsListScreenProps> = ({route}) => {
: useSelector((state: RootState) => state.friends);
return (
- <View style={styles.background}>
+ <>
<SafeAreaView>
<View style={styles.header}>
<TouchableOpacity
@@ -43,12 +43,10 @@ const FriendsListScreen: React.FC<FriendsListScreenProps> = ({route}) => {
</TouchableOpacity>
<Text style={styles.headerText}>Friends</Text>
</View>
- <View style={styles.body}>
- <Friends result={friends} screenType={screenType} userId={userXId} />
- </View>
+ <Friends result={friends} screenType={screenType} userId={userXId} />
</SafeAreaView>
<TabsGradient />
- </View>
+ </>
);
};