diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/constants/constants.ts | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/src/constants/constants.ts b/src/constants/constants.ts index 136dddb4..531420e6 100644 --- a/src/constants/constants.ts +++ b/src/constants/constants.ts @@ -1,13 +1,11 @@ import {ReactText} from 'react'; import {BackgroundGradientType, MomentCategoryType} from './../types/'; -import {SCREEN_WIDTH, SCREEN_HEIGHT, isIPhoneX} from '../utils'; +import {SCREEN_WIDTH, SCREEN_HEIGHT} from '../utils'; export const CHIN_HEIGHT = 34; export const PROFILE_CUTOUT_TOP_Y = SCREEN_HEIGHT / 2.3; -export const PROFILE_CUTOUT_BOTTOM_Y = isIPhoneX() - ? SCREEN_HEIGHT / 1.86 - : SCREEN_HEIGHT / 1.76; +export const PROFILE_CUTOUT_BOTTOM_Y = SCREEN_HEIGHT / 1.76; export const PROFILE_CUTOUT_CORNER_X = SCREEN_WIDTH / 2.9; export const PROFILE_CUTOUT_CORNER_Y = SCREEN_HEIGHT / 1.95; |