diff options
| author | Ivan Chen <ivan@tagg.id> | 2021-03-30 15:27:19 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-03-30 15:27:19 -0400 |
| commit | 6250ae2a6936bdb8e4b1cca538640fbb0d8c4c48 (patch) | |
| tree | 7fe5c6809650ba919102cc21218b74345aba1455 /src/components | |
| parent | e74f7d6572ed6cff565ecccbbb4561430ec7912f (diff) | |
| parent | 4366feca828974b93d1211662f1fb6ee825a2374 (diff) | |
Merge pull request #344 from IvanIFChen/hotfix-allow-access-settings
[HOTFIX] Allow navigation to settings page without onboarded SP
Diffstat (limited to 'src/components')
| -rw-r--r-- | src/components/profile/ProfileMoreInfoDrawer.tsx | 9 |
1 files changed, 2 insertions, 7 deletions
diff --git a/src/components/profile/ProfileMoreInfoDrawer.tsx b/src/components/profile/ProfileMoreInfoDrawer.tsx index f70f90d0..67e59747 100644 --- a/src/components/profile/ProfileMoreInfoDrawer.tsx +++ b/src/components/profile/ProfileMoreInfoDrawer.tsx @@ -36,13 +36,8 @@ const ProfileMoreInfoDrawer: React.FC<ProfileMoreInfoDrawerProps> = (props) => { }; const goToSettingsPage = () => { - if (profile.suggested_people_linked === 0) { - Alert.alert(ERROR_ATTEMPT_EDIT_SP); - } else { - // Sending undefined for updatedSelectedBadges to mark that there was no update yet - navigation.navigate('SettingsScreen'); - setIsOpen(false); - } + navigation.navigate('SettingsScreen'); + setIsOpen(false); }; const onBlockUnblock = () => { |
