|
@ -20,14 +20,15 @@ function tabScreens() { |
|
|
return ( |
|
|
return ( |
|
|
<Tab.Navigator |
|
|
<Tab.Navigator |
|
|
style={{ backgroundColor: "black" }} |
|
|
style={{ backgroundColor: "black" }} |
|
|
tabBarOptions={{ |
|
|
|
|
|
activeTintColor: colors.primary, |
|
|
|
|
|
|
|
|
screenOptions={{ |
|
|
|
|
|
tabBarActiveTintColor: colors.primary, |
|
|
}} |
|
|
}} |
|
|
> |
|
|
> |
|
|
<Tab.Screen |
|
|
<Tab.Screen |
|
|
name="Home" |
|
|
|
|
|
|
|
|
name="Map" |
|
|
component={FeedNavigator} |
|
|
component={FeedNavigator} |
|
|
options={{ |
|
|
options={{ |
|
|
|
|
|
headerShown: false, |
|
|
tabBarIcon: ({ color, size }) => ( |
|
|
tabBarIcon: ({ color, size }) => ( |
|
|
<MaterialCommunityIcons name="home" color={color} size={size} /> |
|
|
<MaterialCommunityIcons name="home" color={color} size={size} /> |
|
|
), |
|
|
), |
|
@ -37,6 +38,7 @@ function tabScreens() { |
|
|
name="SharingData" |
|
|
name="SharingData" |
|
|
component={SharingDataOptionsNavigator} |
|
|
component={SharingDataOptionsNavigator} |
|
|
options={({ navigation }) => ({ |
|
|
options={({ navigation }) => ({ |
|
|
|
|
|
headerShown: false, |
|
|
tabBarButton: () => ( |
|
|
tabBarButton: () => ( |
|
|
<NewListingButton |
|
|
<NewListingButton |
|
|
onPress={() => |
|
|
onPress={() => |
|
@ -58,9 +60,10 @@ function tabScreens() { |
|
|
/> |
|
|
/> |
|
|
|
|
|
|
|
|
<Tab.Screen |
|
|
<Tab.Screen |
|
|
name="Perfil" |
|
|
|
|
|
|
|
|
name="Profile" |
|
|
component={AccountNavigator} |
|
|
component={AccountNavigator} |
|
|
options={{ |
|
|
options={{ |
|
|
|
|
|
headerShown: false, |
|
|
tabBarIcon: ({ color, size }) => ( |
|
|
tabBarIcon: ({ color, size }) => ( |
|
|
<MaterialCommunityIcons name="account" color={color} size={size} /> |
|
|
<MaterialCommunityIcons name="account" color={color} size={size} /> |
|
|
), |
|
|
), |
|
|