From 26cc956602a359ea29a6728b6a98416e098571a0 Mon Sep 17 00:00:00 2001 From: Shravya Ramesh Date: Fri, 19 Mar 2021 17:57:27 -0700 Subject: fixed --- src/screens/profile/InviteFriendsScreen.tsx | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'src') diff --git a/src/screens/profile/InviteFriendsScreen.tsx b/src/screens/profile/InviteFriendsScreen.tsx index 36aa8ada..dcf6ccfc 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, @@ -229,7 +230,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}, -- cgit v1.2.3-70-g09d2