diff options
author | Ivan Chen <ivan@thetaggid.com> | 2021-01-06 15:15:25 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-01-06 15:15:25 -0500 |
commit | 0fe59c08cca546bdb5b4ec178ea0c7a250380de6 (patch) | |
tree | 38c31c67564386f53fd144aea4c5d17147f1d5a7 /src | |
parent | 411b239b5637f91e61eaf97ae0091ae887c26159 (diff) |
consistent padding (#169)
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; |