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