aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIvan Chen <ivan@thetaggid.com>2021-02-02 12:19:20 -0500
committerGitHub <noreply@github.com>2021-02-02 12:19:20 -0500
commit3dd8aeddb99218e2e38f2fc7505c03533a3b5df2 (patch)
tree750c065887d7308ff4304eb8ba4c25008475525d
parent7a09cc96bf1fe468a612bb44362bbef24fccc773 (diff)
parent01637885a26e1b8b451f27f85596e98dc8c1cc43 (diff)
Merge pull request #211 from shravyaramesh/friends-button-styling-returns
[hotfix] Styling: bring back old friends button
-rw-r--r--src/components/profile/ProfileBody.tsx10
1 files changed, 4 insertions, 6 deletions
diff --git a/src/components/profile/ProfileBody.tsx b/src/components/profile/ProfileBody.tsx
index 1ee3ae2b..88161525 100644
--- a/src/components/profile/ProfileBody.tsx
+++ b/src/components/profile/ProfileBody.tsx
@@ -105,8 +105,8 @@ const ProfileBody: React.FC<ProfileBodyProps> = ({
{friendship_status === 'friends' && (
<Button
title={'Unfriend'}
- buttonStyle={styles.requestedButton}
- titleStyle={styles.requestedButtonTitle}
+ buttonStyle={styles.button}
+ titleStyle={styles.buttonTitle}
onPress={handleFriendUnfriend} // unfriend, no record status
/>
)}
@@ -179,9 +179,8 @@ const styles = StyleSheet.create({
height: SCREEN_WIDTH * 0.075,
borderColor: TAGG_LIGHT_BLUE,
borderWidth: 2,
- borderRadius: 0,
+ borderRadius: 3,
marginRight: '2%',
- marginLeft: '1%',
padding: 0,
backgroundColor: 'transparent',
},
@@ -205,9 +204,8 @@ const styles = StyleSheet.create({
padding: 0,
borderWidth: 2,
borderColor: TAGG_LIGHT_BLUE,
- borderRadius: 0,
+ borderRadius: 3,
marginRight: '2%',
- marginLeft: '1%',
backgroundColor: TAGG_LIGHT_BLUE,
},
});