katoikia-app/mobile-ui/constants/utils.js

6 lines
311 B
JavaScript
Raw Permalink Normal View History

2022-07-18 20:54:08 +00:00
import { Platform, StatusBar } from 'react-native';
import { theme } from 'galio-framework';
export const StatusHeight = StatusBar.currentHeight;
export const HeaderHeight = (theme.SIZES.BASE * 3.5 + (StatusHeight || 0));
export const iPhoneX = () => Platform.OS === 'ios' && (height === 812 || width === 812);