diff options
Diffstat (limited to 'src/components/profile/ProfilePreview.tsx')
-rw-r--r-- | src/components/profile/ProfilePreview.tsx | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/src/components/profile/ProfilePreview.tsx b/src/components/profile/ProfilePreview.tsx index 38defb8d..45913877 100644 --- a/src/components/profile/ProfilePreview.tsx +++ b/src/components/profile/ProfilePreview.tsx @@ -15,7 +15,7 @@ import {ERROR_UNABLE_TO_VIEW_PROFILE} from '../../constants/strings'; import {loadImageFromURL} from '../../services'; import {RootState} from '../../store/rootreducer'; import {PreviewType, ProfilePreviewType, ScreenType} from '../../types'; -import {checkIfUserIsBlocked, fetchUserX, userXInStore} from '../../utils'; +import {checkIfUserIsBlocked, fetchUserX, SCREEN_WIDTH, userXInStore} from '../../utils'; /** * This component returns user's profile picture friended by username as a touchable component. @@ -309,6 +309,7 @@ const styles = StyleSheet.create({ flexDirection: 'row', alignItems: 'center', marginVertical: 10, + width: SCREEN_WIDTH * 0.6, }, friendAvatar: { height: 42, @@ -322,13 +323,13 @@ const styles = StyleSheet.create({ }, friendUsername: { fontSize: 14, - fontWeight: '700', + fontWeight: '500', color: '#3C3C3C', letterSpacing: 0.6, }, friendName: { fontSize: 12, - fontWeight: '500', + fontWeight: '400', color: '#6C6C6C', letterSpacing: 0.5, }, |