move navbar based on os

This commit is contained in:
moist-webDev 2023-05-25 21:37:22 -04:00
parent fd6caf7fb3
commit 83ea595651
1 changed files with 2 additions and 1 deletions

View File

@ -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,