diff options
author | Ivan Chen <ivan@tagg.id> | 2021-03-30 14:41:44 -0400 |
---|---|---|
committer | Ivan Chen <ivan@tagg.id> | 2021-03-30 14:41:44 -0400 |
commit | 4366feca828974b93d1211662f1fb6ee825a2374 (patch) | |
tree | 7c438c1808498bab7ba0fbea46c0d337b79df673 /src | |
parent | 196779e9f404916f2a2ddad53728410761f488ac (diff) |
removed comments
Diffstat (limited to 'src')
-rw-r--r-- | src/components/profile/ProfileMoreInfoDrawer.tsx | 1 | ||||
-rw-r--r-- | src/screens/profile/SettingsCell.tsx | 5 |
2 files changed, 3 insertions, 3 deletions
diff --git a/src/components/profile/ProfileMoreInfoDrawer.tsx b/src/components/profile/ProfileMoreInfoDrawer.tsx index 5c5edf6c..67e59747 100644 --- a/src/components/profile/ProfileMoreInfoDrawer.tsx +++ b/src/components/profile/ProfileMoreInfoDrawer.tsx @@ -36,7 +36,6 @@ const ProfileMoreInfoDrawer: React.FC<ProfileMoreInfoDrawerProps> = (props) => { }; const goToSettingsPage = () => { - // Sending undefined for updatedSelectedBadges to mark that there was no update yet navigation.navigate('SettingsScreen'); setIsOpen(false); }; diff --git a/src/screens/profile/SettingsCell.tsx b/src/screens/profile/SettingsCell.tsx index f5360242..96eceecc 100644 --- a/src/screens/profile/SettingsCell.tsx +++ b/src/screens/profile/SettingsCell.tsx @@ -35,7 +35,6 @@ const SettingsCell: React.FC<SettingsCellProps> = ({ if (suggested_people_linked === 0) { Alert.alert(ERROR_ATTEMPT_EDIT_SP); } else { - // Sending undefined for updatedSelectedBadges to mark that there was no update yet navigateTo('UpdateSPPicture', { editing: true, }); @@ -85,7 +84,9 @@ const SettingsCell: React.FC<SettingsCellProps> = ({ endExit: 'slide_out_right', }, }); - } else Linking.openURL(url); + } else { + Linking.openURL(url); + } } catch (error) { Alert.alert(error.message); } |