From 1b2e064ead195197f54aba8684b94efe36f6850a Mon Sep 17 00:00:00 2001 From: Michael Palmes Date: Sat, 15 Sep 2018 23:26:03 -0600 Subject: [PATCH] Added window dimensions for iPhone XS Max and iPhone XR --- src/views/StackView/StackViewLayout.js | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/views/StackView/StackViewLayout.js b/src/views/StackView/StackViewLayout.js index cbc7af6..e4d4ce2 100644 --- a/src/views/StackView/StackViewLayout.js +++ b/src/views/StackView/StackViewLayout.js @@ -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);