From f4ca572ceb9448e02a6261ca50e3ee6b0acfe2b6 Mon Sep 17 00:00:00 2001 From: Shravya Ramesh Date: Thu, 18 Mar 2021 17:43:27 -0700 Subject: fixed --- src/components/profile/Friends.tsx | 15 +++++++-------- 1 file changed, 7 insertions(+), 8 deletions(-) (limited to 'src') diff --git a/src/components/profile/Friends.tsx b/src/components/profile/Friends.tsx index 0592def8..d87b0fb0 100644 --- a/src/components/profile/Friends.tsx +++ b/src/components/profile/Friends.tsx @@ -63,7 +63,7 @@ const Friends: React.FC = ({result, screenType, userId}) => { /> { console.log('screentype: ', screenType); handleAddFriend(screenType, profilePreview, dispatch, state).then( @@ -79,7 +79,7 @@ const Friends: React.FC = ({result, screenType, userId}) => { }, ); }}> - Add Friend + Add Friend ))} @@ -143,11 +143,11 @@ const Friends: React.FC = ({result, screenType, userId}) => { {loggedInUser.userId !== userId && ( handleUnfriend(screenType, profilePreview, dispatch, state) }> - Unfriend + Unfriend )} @@ -236,7 +236,7 @@ const styles = StyleSheet.create({ letterSpacing: normalize(0.6), paddingHorizontal: '3.8%', }, - button: { + unfriendButton: { alignSelf: 'center', justifyContent: 'center', alignItems: 'center', @@ -246,10 +246,9 @@ const styles = StyleSheet.create({ borderWidth: 2, borderRadius: 2, padding: 0, - backgroundColor: TAGG_LIGHT_BLUE, }, - buttonTitle: { - color: 'white', + unfriendButtonTitle: { + color: TAGG_LIGHT_BLUE, padding: 0, fontSize: normalize(11), fontWeight: '700', -- cgit v1.2.3-70-g09d2