Skip to content

Commit 747caf2

Browse files
committed
bug fix
1 parent dbf49b5 commit 747caf2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/helpers/Constants.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ export let isShortScreen = screenHeight <= 600;
4444
export const isTablet = Platform.isPad || (screenAspectRatio < 1.6 && Math.max(screenWidth, screenHeight) >= 900);
4545

4646
export function getSafeAreaInsets() {
47-
return (orientation === orientation.LANDSCAPE) ?
47+
return (orientation === orientations.LANDSCAPE) ?
4848
{left: 44, right: 44, bottom: 24, top: 0} :
4949
{left: 0, right: 0, bottom: 34, top: 44};
5050
}

0 commit comments

Comments
 (0)