diff options
author | Shravya Ramesh <shravs1208@gmail.com> | 2021-03-19 17:57:27 -0700 |
---|---|---|
committer | Shravya Ramesh <shravs1208@gmail.com> | 2021-03-19 17:57:27 -0700 |
commit | 26cc956602a359ea29a6728b6a98416e098571a0 (patch) | |
tree | 5703a20bf33d224aab57adfc886b7b528d362ff4 | |
parent | 33dab79fffc4ec5f4d3bd826215e3acdd9ff1830 (diff) |
fixed
-rw-r--r-- | src/screens/profile/InviteFriendsScreen.tsx | 5 |
1 files changed, 3 insertions, 2 deletions
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}, |