File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -19,9 +19,6 @@ export function getAndroidVersion() {
19
19
return isAndroid ? parseInt ( Platform . Version , 10 ) : undefined ;
20
20
}
21
21
22
- /* Devices */
23
- export const isIphoneX = isIOS && ! Platform . isPad && ! Platform . isTVOS && ( screenHeight >= 812 || screenWidth >= 812 ) ;
24
-
25
22
/* Navigation */
26
23
const { StatusBarManager} = NativeModules ;
27
24
export let statusBarHeight = setStatusBarHeight ( ) ;
@@ -50,6 +47,9 @@ export function getSafeAreaInsets() {
50
47
{ left : 0 , right : 0 , bottom : 34 , top : 44 } ;
51
48
}
52
49
50
+ /* Devices */
51
+ export const isIphoneX = isIOS && ! Platform . isPad && ! Platform . isTVOS && ( screenHeight >= 812 || screenWidth >= 812 ) ;
52
+
53
53
/* Orientation */
54
54
function getOrientation ( height , width ) {
55
55
return width < height ? orientations . PORTRAIT : orientations . LANDSCAPE ;
You can’t perform that action at this time.
0 commit comments