move navbar based on os
This commit is contained in:
parent
fd6caf7fb3
commit
83ea595651
|
|
@ -1,5 +1,5 @@
|
||||||
import { Link } from "react-router-native";
|
import { Link } from "react-router-native";
|
||||||
import { StyleSheet, Text, View } from 'react-native';
|
import { StyleSheet, Text, View, Platform } from 'react-native';
|
||||||
import { MaterialIcons, FontAwesome5, Entypo, Ionicons } from '@expo/vector-icons';
|
import { MaterialIcons, FontAwesome5, Entypo, Ionicons } from '@expo/vector-icons';
|
||||||
|
|
||||||
export default function Navbar({theme}:any){
|
export default function Navbar({theme}:any){
|
||||||
|
|
@ -36,6 +36,7 @@ const style = (theme:any) => {
|
||||||
marginTop: "auto",
|
marginTop: "auto",
|
||||||
flexDirection: 'row',
|
flexDirection: 'row',
|
||||||
width: '100%',
|
width: '100%',
|
||||||
|
marginBottom: (Platform.OS== 'ios')?20:0,
|
||||||
},
|
},
|
||||||
navButton: {
|
navButton: {
|
||||||
height: 60,
|
height: 60,
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue