Added window dimensions for iPhone XS Max and iPhone XR

This commit is contained in:
Michael Palmes 2018-09-15 23:26:03 -06:00
parent 3f4d038b50
commit 1b2e064ead
1 changed files with 4 additions and 1 deletions

View File

@ -33,7 +33,10 @@ const IS_IPHONE_X =
Platform.OS === 'ios' &&
!Platform.isPad &&
!Platform.isTVOS &&
(WINDOW_HEIGHT === 812 || WINDOW_WIDTH === 812);
(WINDOW_HEIGHT === 812 ||
WINDOW_WIDTH === 812 ||
WINDOW_HEIGHT === 896 ||
WINDOW_WIDTH === 896);
const EaseInOut = Easing.inOut(Easing.ease);