Minimally functional app after expo upgrade.
This commit is contained in:
@@ -107,6 +107,15 @@ const MoreStackNavigator = () => (
|
||||
const BottomTabsNavigator = () => (
|
||||
<BottomTabs.Navigator
|
||||
screenOptions={({ route }) => ({
|
||||
// tabBarActiveTintColor: "dodgerblue",
|
||||
// tabBarInactiveTintColor: "slategrey",
|
||||
// tabBarStyle: [
|
||||
// {
|
||||
// display: "flex",
|
||||
// },
|
||||
// null,
|
||||
// ],
|
||||
|
||||
// eslint-disable-next-line react/display-name
|
||||
tabBarIcon: ({ color, size }) => {
|
||||
let iconName;
|
||||
@@ -123,24 +132,27 @@ const BottomTabsNavigator = () => (
|
||||
return <Ionicons name={iconName} size={size} color={color} />;
|
||||
},
|
||||
})}
|
||||
tabBarOptions={{
|
||||
activeTintColor: "dodgerblue",
|
||||
inactiveTintColor: "slategrey",
|
||||
}}
|
||||
>
|
||||
<BottomTabs.Screen
|
||||
name="JobTab"
|
||||
options={{ title: i18n.t("joblist.titles.jobtab") }}
|
||||
options={{
|
||||
title: i18n.t("joblist.titles.jobtab"),
|
||||
|
||||
headerShown: false,
|
||||
}}
|
||||
component={JobStackNavigator}
|
||||
/>
|
||||
<BottomTabs.Screen
|
||||
name="MediaBrowserTab"
|
||||
options={{ title: i18n.t("mediabrowser.titles.mediabrowsertab") }}
|
||||
options={{
|
||||
title: i18n.t("mediabrowser.titles.mediabrowsertab"),
|
||||
headerShown: false,
|
||||
}}
|
||||
component={MediaBrowserStackNavigator}
|
||||
/>
|
||||
<BottomTabs.Screen
|
||||
name="MoreTab"
|
||||
options={{ title: i18n.t("more.titles.moretab") }}
|
||||
options={{ title: i18n.t("more.titles.moretab"), headerShown: false }}
|
||||
component={MoreStackNavigator}
|
||||
/>
|
||||
</BottomTabs.Navigator>
|
||||
@@ -152,7 +164,7 @@ export function ScreenMainComponent({
|
||||
bodyshop,
|
||||
}) {
|
||||
useEffect(() => {
|
||||
checkUserSession();
|
||||
checkUserSession;
|
||||
}, [checkUserSession]);
|
||||
|
||||
return (
|
||||
|
||||
Reference in New Issue
Block a user