|
|
@ -8,8 +8,6 @@ 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(); |
|
|
|
|
|
|
@ -45,7 +43,12 @@ const AppNavigator = () => ( |
|
|
|
tabBarButton: () => ( |
|
|
|
<NewListingButton |
|
|
|
onPress={() => |
|
|
|
navigation.navigate(routes.SHARING_DATA)} |
|
|
|
navigation.reset({ |
|
|
|
index: 0, |
|
|
|
key: "RainSharingData", |
|
|
|
routes: [{ name: "SharingData" }], |
|
|
|
}) |
|
|
|
} |
|
|
|
/> |
|
|
|
), |
|
|
|
tabBarIcon: ({ color, size }) => ( |
|
|
|