We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent dbf49b5 commit 747caf2Copy full SHA for 747caf2
src/helpers/Constants.js
@@ -44,7 +44,7 @@ export let isShortScreen = screenHeight <= 600;
44
export const isTablet = Platform.isPad || (screenAspectRatio < 1.6 && Math.max(screenWidth, screenHeight) >= 900);
45
46
export function getSafeAreaInsets() {
47
- return (orientation === orientation.LANDSCAPE) ?
+ return (orientation === orientations.LANDSCAPE) ?
48
{left: 44, right: 44, bottom: 24, top: 0} :
49
{left: 0, right: 0, bottom: 34, top: 44};
50
}
0 commit comments