ui: fix side menu and marginTop on android.

This commit is contained in:
ammarahm-ed
2020-01-07 18:14:36 +05:00
parent 01a4f90889
commit fa9b9e12f7
6 changed files with 20 additions and 94 deletions

View File

@@ -6,6 +6,7 @@ import {
TouchableOpacity,
Platform,
FlatList,
StatusBar,
} from 'react-native';
import NavigationService from '../../services/NavigationService';
import {
@@ -39,7 +40,7 @@ export const Menu = ({close = () => {}, hide, update = () => {}}) => {
height: 2,
width: '100%',
marginBottom: 5,
marginTop: Platform.OS == 'ios' ? 0 : 45,
marginTop: Platform.OS == 'ios' ? 0 : StatusBar.currentHeight - 10,
}}
/>