This commit is contained in:
Mike Fitzpatrick
2019-08-12 17:44:01 -04:00
parent 0f618fdd78
commit f0460a1b76
21 changed files with 432 additions and 78 deletions

View File

@@ -13,8 +13,12 @@ export default function UserProfileButton({
navigation,
}) {
const _goToProfile = () => {
navigation.navigate('Profile');
return false;
if (isRegisteredAccount) {
navigation.navigate('Profile');
return false;
}
navigation.navigate('SignInOrRegister');
};
return (