From 46b97f1237e00332b508abb042da3882914de76d Mon Sep 17 00:00:00 2001 From: GabrielTrettel Date: Fri, 27 Aug 2021 18:20:39 -0300 Subject: [PATCH] Removing "Perfil" and "Messages screens from app navigator" --- src/app/navigation/AppNavigator.js | 62 +++++++++++++------------- src/app/navigation/NewListingButton.js | 1 + 2 files changed, 32 insertions(+), 31 deletions(-) diff --git a/src/app/navigation/AppNavigator.js b/src/app/navigation/AppNavigator.js index 75df1ff..0a77ec9 100644 --- a/src/app/navigation/AppNavigator.js +++ b/src/app/navigation/AppNavigator.js @@ -22,30 +22,16 @@ const AppNavigator = () => ( ), }} /> - ( - - ), - }} - /> - ({ - tabBarButton: () => ( + tabBarButton: () => ( - navigation.navigate("SharingData",{ - screen:"Voltar", - initial: false, + navigation.navigate("SharingData", { + screen: "Voltar", + initial: false, }) } /> @@ -59,29 +45,43 @@ const AppNavigator = () => ( ), })} /> - ( ), }} /> - ( - - ), - }} - /> + + {/* ( */} + {/* */} + {/* ), */} + {/* }} */} + {/* /> */} + + {/* ( */} + {/* */} + {/* ), */} + {/* }} */} + {/* /> */} ); diff --git a/src/app/navigation/NewListingButton.js b/src/app/navigation/NewListingButton.js index cc15b9d..f980c65 100644 --- a/src/app/navigation/NewListingButton.js +++ b/src/app/navigation/NewListingButton.js @@ -22,6 +22,7 @@ const styles = StyleSheet.create({ container: { alignItems: "center", backgroundColor: colors.primary, + marginHorizontal: 60, borderColor: colors.white, borderRadius: 50, borderWidth: 0,