diff --git a/components/Navbar.tsx b/components/Navbar.tsx index 1e627ee..6ea293f 100644 --- a/components/Navbar.tsx +++ b/components/Navbar.tsx @@ -2,22 +2,22 @@ import { Link } from "react-router-native"; import { StyleSheet, Text, View, Platform } from 'react-native'; import { MaterialIcons, FontAwesome5, Entypo, Ionicons } from '@expo/vector-icons'; -export default function Navbar({theme}:any){ +export default function Navbar({theme, setTitle}:any){ return ( - + setTitle("Home")} to="/" style={{flex: 1}}> - + setTitle("Movies")} to='/movies' style={{flex: 1}}> - + setTitle("Shows")} to='/shows' style={{flex: 1}}> - + setTitle("Other")} to='/other' style={{flex: 1}}> - + setTitle("Settings")} to='/settings' style={{flex: 1}}>