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", icon: "login",
// IconProvider: MaterialCommunityIcons, show: !isRegistered,
// title: "DESATIVAR CONTA", IconProvider: MaterialCommunityIcons,
// onPress: () => { title: "Entrar",
// console.log("7"); onPress: () => {
// }, setUser(false);
// }, },
},
]; ];
return ( return (

|||||||
100:0
Loading…
Cancel
Save