diff options
author | Shravya Ramesh <shravs1208@gmail.com> | 2021-02-01 22:02:25 -0800 |
---|---|---|
committer | Shravya Ramesh <shravs1208@gmail.com> | 2021-02-01 22:02:25 -0800 |
commit | 7361492c3d25f71bb444f5f7e35b3113647318f9 (patch) | |
tree | 83a3f1e64bc8a487393b17b337b83251c27ab0ce /src/components/profile/ProfilePreview.tsx | |
parent | 19f6a1cd849bec601440311dcb4188d7ff0b34ea (diff) |
fullscreen friends + unfriend button
Diffstat (limited to 'src/components/profile/ProfilePreview.tsx')
-rw-r--r-- | src/components/profile/ProfilePreview.tsx | 12 |
1 files changed, 9 insertions, 3 deletions
diff --git a/src/components/profile/ProfilePreview.tsx b/src/components/profile/ProfilePreview.tsx index 45913877..159798de 100644 --- a/src/components/profile/ProfilePreview.tsx +++ b/src/components/profile/ProfilePreview.tsx @@ -15,7 +15,13 @@ 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, SCREEN_WIDTH, userXInStore} from '../../utils'; +import { + checkIfUserIsBlocked, + fetchUserX, + normalize, + SCREEN_WIDTH, + userXInStore, +} from '../../utils'; /** * This component returns user's profile picture friended by username as a touchable component. @@ -322,13 +328,13 @@ const styles = StyleSheet.create({ alignSelf: 'stretch', }, friendUsername: { - fontSize: 14, + fontSize: normalize(14), fontWeight: '500', color: '#3C3C3C', letterSpacing: 0.6, }, friendName: { - fontSize: 12, + fontSize: normalize(12), fontWeight: '400', color: '#6C6C6C', letterSpacing: 0.5, |