diff options
author | Ivan Chen <ivan@tagg.id> | 2021-03-20 13:35:21 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-03-20 13:35:21 -0400 |
commit | e389b1a1178b09e9367fb53ce53ad88011940639 (patch) | |
tree | 7b7e0923ceb3daaecd0a194d4cf1fa5dfdc9839c /src | |
parent | a18ed50d50c35909b0730011c12991021e210de4 (diff) | |
parent | 26cc956602a359ea29a6728b6a98416e098571a0 (diff) |
Merge pull request #315 from shravyaramesh/tma715-desc-cutoff
[TMA-715] Invite Friends Screen: Description cutoff on iPhone 12 Pro max
Diffstat (limited to 'src')
-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 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}, |