mirror of
https://github.com/streetwriters/notesnook.git
synced 2025-12-23 23:19:40 +01:00
ui: fix side menu and marginTop on android.
This commit is contained in:
@@ -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,
|
||||
}}
|
||||
/>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user