From 0fe59c08cca546bdb5b4ec178ea0c7a250380de6 Mon Sep 17 00:00:00 2001 From: Ivan Chen Date: Wed, 6 Jan 2021 15:15:25 -0500 Subject: consistent padding (#169) --- src/constants/constants.ts | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'src') 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; -- cgit v1.2.3-70-g09d2