aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/components/profile/ProfilePreview.tsx5
-rw-r--r--src/components/suggestedPeople/MutualFriends.tsx4
2 files changed, 5 insertions, 4 deletions
diff --git a/src/components/profile/ProfilePreview.tsx b/src/components/profile/ProfilePreview.tsx
index 41792724..02ab94e7 100644
--- a/src/components/profile/ProfilePreview.tsx
+++ b/src/components/profile/ProfilePreview.tsx
@@ -18,6 +18,7 @@ import {PreviewType, ProfilePreviewType, ScreenType} from '../../types';
import {
checkIfUserIsBlocked,
fetchUserX,
+ isIPhoneX,
normalize,
SCREEN_WIDTH,
userXInStore,
@@ -365,8 +366,8 @@ const styles = StyleSheet.create({
flexDirection: 'column',
justifyContent: 'center',
alignItems: 'center',
- paddingRight: 25,
- backgroundColor: 'transparent',
+ marginRight: 25,
+ width: isIPhoneX() ? 80 : 65,
},
suggestedPeopleAvatar: {
alignSelf: 'center',
diff --git a/src/components/suggestedPeople/MutualFriends.tsx b/src/components/suggestedPeople/MutualFriends.tsx
index 6e5280ec..bc0889fd 100644
--- a/src/components/suggestedPeople/MutualFriends.tsx
+++ b/src/components/suggestedPeople/MutualFriends.tsx
@@ -44,7 +44,7 @@ const MutualFriends: React.FC = () => {
</TouchableOpacity>
)}
<BottomDrawer
- initialSnapPosition={isIPhoneX() ? '38%' : '45%'}
+ initialSnapPosition={isIPhoneX() ? '40%' : '45%'}
showHeader={false}
isOpen={drawerVisible}
setIsOpen={setDrawerVisible}>
@@ -176,7 +176,7 @@ const styles = StyleSheet.create({
textAlign: 'center',
},
scrollViewContainer: {
- height: 130,
+ height: isIPhoneX() ? 153 : 135,
shadowColor: 'rgb(125, 125, 125)',
marginTop: '1%',
},