Browse Source

Fixing bug in AccountScreen: not registered user must not see the

"alterar senha" option.
master
GabrielTrettel 3 years ago
parent
commit
f05f80bae0
  1. 2
      src/app/screens/AccountScreen.js

2
src/app/screens/AccountScreen.js

@ -130,7 +130,7 @@ function AccountScreen(props) {
const profileItems = [ const profileItems = [
{ {
icon: "lock", icon: "lock",
show: true,
show: isRegistered,
IconProvider: MaterialCommunityIcons, IconProvider: MaterialCommunityIcons,
title: "alterar senha", title: "alterar senha",
onPress: () => { onPress: () => {

Loading…
Cancel
Save