|
@ -8,6 +8,8 @@ import MessagesNavigator from "./MessagesNavigator"; |
|
|
import ForecastNavigator from "./ForecastNavigator"; |
|
|
import ForecastNavigator from "./ForecastNavigator"; |
|
|
import NewListingButton from "./NewListingButton"; |
|
|
import NewListingButton from "./NewListingButton"; |
|
|
import SharingDataOptionsNavigator from "./SharingDataOptionsNavigator"; |
|
|
import SharingDataOptionsNavigator from "./SharingDataOptionsNavigator"; |
|
|
|
|
|
import SharingDataNavigator from "./SharingDataNavigator"; |
|
|
|
|
|
import routes from "./routes"; |
|
|
|
|
|
|
|
|
const Tab = createBottomTabNavigator(); |
|
|
const Tab = createBottomTabNavigator(); |
|
|
|
|
|
|
|
@ -43,11 +45,7 @@ const AppNavigator = () => ( |
|
|
tabBarButton: () => ( |
|
|
tabBarButton: () => ( |
|
|
<NewListingButton |
|
|
<NewListingButton |
|
|
onPress={() => |
|
|
onPress={() => |
|
|
navigation.reset({ |
|
|
|
|
|
index: 0, |
|
|
|
|
|
routes: [{ name: "SharingData" }], |
|
|
|
|
|
}) |
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
navigation.navigate(routes.SHARING_DATA)} |
|
|
/> |
|
|
/> |
|
|
), |
|
|
), |
|
|
tabBarIcon: ({ color, size }) => ( |
|
|
tabBarIcon: ({ color, size }) => ( |
|
|