disable insets on ios

This commit is contained in:
ammarahm-ed
2020-11-18 18:17:59 +05:00
parent 0d331977b5
commit 707a680d13

View File

@@ -39,7 +39,7 @@ export const Header = ({root}) => {
style={[ style={[
styles.container, styles.container,
{ {
marginTop: insets.top, marginTop:Platform.OS === "android"? insets.top : null,
backgroundColor: colors.bg, backgroundColor: colors.bg,
overflow: 'hidden', overflow: 'hidden',
borderBottomWidth: 1, borderBottomWidth: 1,