aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/screens/profile/InviteFriendsScreen.tsx5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/screens/profile/InviteFriendsScreen.tsx b/src/screens/profile/InviteFriendsScreen.tsx
index 53e6b221..4af52349 100644
--- a/src/screens/profile/InviteFriendsScreen.tsx
+++ b/src/screens/profile/InviteFriendsScreen.tsx
@@ -14,11 +14,12 @@ import {
ScrollView,
} from 'react-native';
import {useDispatch, useStore} from 'react-redux';
-import {ProfilePreviewType, ScreenType} from '../../types';
+import {ProfilePreviewType} from '../../types';
import {
extractContacts,
handleAddFriend,
HeaderHeight,
+ isIPhoneX,
normalize,
SCREEN_HEIGHT,
SCREEN_WIDTH,
@@ -233,7 +234,7 @@ const styles = StyleSheet.create({
},
headerContainer: {
width: SCREEN_WIDTH * 0.85,
- height: 50,
+ height: isIPhoneX() ? SCREEN_HEIGHT * 0.06 : SCREEN_HEIGHT * 0.08,
alignSelf: 'center',
},
nonUsersFlatListContainer: {paddingBottom: 130},