diff options
| author | Shravya Ramesh <37447613+shravyaramesh@users.noreply.github.com> | 2021-03-30 12:30:15 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-03-30 12:30:15 -0700 |
| commit | 6b3ab4ccb9112e469f2333285c4e58a8c934cff3 (patch) | |
| tree | 84b4b9a6fa04cff39fb9e3bdf0ebe29910d08e0f /src/screens/profile/SettingsCell.tsx | |
| parent | 357ac758abf9a2a2364b265051743bbbc50893a6 (diff) | |
| parent | 6250ae2a6936bdb8e4b1cca538640fbb0d8c4c48 (diff) | |
Merge branch 'master' into tma718-move-invite-friends
Diffstat (limited to 'src/screens/profile/SettingsCell.tsx')
| -rw-r--r-- | src/screens/profile/SettingsCell.tsx | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/src/screens/profile/SettingsCell.tsx b/src/screens/profile/SettingsCell.tsx index f5360242..852a29dc 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); } @@ -128,7 +129,7 @@ const styles = StyleSheet.create({ }, subItemStyles: {position: 'absolute', right: 0}, preImageStyles: {width: SCREEN_WIDTH * 0.05, height: SCREEN_WIDTH * 0.05}, - postImageStyles: {width: 15, height: 15}, + postImageStyles: {width: 10, height: 17}, titleContainerStyles: {marginLeft: '12%'}, titleStyles: { fontSize: normalize(15), |
