|
@ -7,12 +7,11 @@ import FeedNavigator from "./FeedNavigator"; |
|
|
import MessagesNavigator from "./MessagesNavigator"; |
|
|
import MessagesNavigator from "./MessagesNavigator"; |
|
|
import OfficialMessagesNavigator from "./OfficialMessagesNavigator"; |
|
|
import OfficialMessagesNavigator from "./OfficialMessagesNavigator"; |
|
|
import NewListingButton from "./NewListingButton"; |
|
|
import NewListingButton from "./NewListingButton"; |
|
|
import routes from "./routes"; |
|
|
|
|
|
import SharingDataNavigator from "./SharingDataNavigator"; |
|
|
|
|
|
import SharingDataOptionsNavigator from "./SharingDataOptionsNavigator"; |
|
|
import SharingDataOptionsNavigator from "./SharingDataOptionsNavigator"; |
|
|
|
|
|
|
|
|
const Tab = createBottomTabNavigator(); |
|
|
const Tab = createBottomTabNavigator(); |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
const AppNavigator = () => ( |
|
|
const AppNavigator = () => ( |
|
|
<Tab.Navigator style={{ backgroundColor: "white" }}> |
|
|
<Tab.Navigator style={{ backgroundColor: "white" }}> |
|
|
<Tab.Screen |
|
|
<Tab.Screen |
|
@ -45,9 +44,10 @@ const AppNavigator = () => ( |
|
|
tabBarButton: () => ( |
|
|
tabBarButton: () => ( |
|
|
<NewListingButton |
|
|
<NewListingButton |
|
|
onPress={() => |
|
|
onPress={() => |
|
|
//navigation.goBack(null)
|
|
|
|
|
|
navigation.navigate(routes.SHARING_DATA)} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
navigation.reset({ |
|
|
|
|
|
index: 0, |
|
|
|
|
|
routes: [{ name: "SharingData" }], |
|
|
|
|
|
})} |
|
|
/> |
|
|
/> |
|
|
), |
|
|
), |
|
|
tabBarIcon: ({ color, size }) => ( |
|
|
tabBarIcon: ({ color, size }) => ( |
|
|