Browse Source

Changing "cadastre-se" to "Entrar" in account screen

master
GabrielTrettel 3 years ago
parent
commit
2ade63bef4
  1. 26
      src/app/screens/AccountScreen.js

26
src/app/screens/AccountScreen.js

@ -112,15 +112,6 @@ function AccountScreen(props) {
props.navigation.navigate("PluviometerRegister"); props.navigation.navigate("PluviometerRegister");
}, },
}, },
{
icon: "account",
show: !isRegistered,
IconProvider: MaterialCommunityIcons,
title: "Cadastre-se",
onPress: () => {
setUser(false);
},
},
{ {
icon: "bank", icon: "bank",
show: showActivation(), show: showActivation(),
@ -149,14 +140,15 @@ function AccountScreen(props) {
setShowLog(true); setShowLog(true);
}, },
}, },
// {
// icon: "trash-can",
// IconProvider: MaterialCommunityIcons,
// title: "DESATIVAR CONTA",
// onPress: () => {
// console.log("7");
// },
// },
{
icon: "login",
show: !isRegistered,
IconProvider: MaterialCommunityIcons,
title: "Entrar",
onPress: () => {
setUser(false);
},
},
]; ];
return ( return (

Loading…
Cancel
Save