diff options
author | Ivan Chen <ivan@tagg.id> | 2021-01-21 16:59:30 -0500 |
---|---|---|
committer | Ivan Chen <ivan@tagg.id> | 2021-01-21 16:59:30 -0500 |
commit | d6714bec669becb4132035ffdf7b9b87e9c6ce7b (patch) | |
tree | e7d39626e9b6ada6c60c32150d2b8406ea6dc981 /src/components/profile/FriendsCount.tsx | |
parent | 7f5a1a224a235da7c38c3f38c41bbdca71d14471 (diff) |
normalize function and normalized all fonts on profile page
Diffstat (limited to 'src/components/profile/FriendsCount.tsx')
-rw-r--r-- | src/components/profile/FriendsCount.tsx | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/components/profile/FriendsCount.tsx b/src/components/profile/FriendsCount.tsx index 23a24787..9647710e 100644 --- a/src/components/profile/FriendsCount.tsx +++ b/src/components/profile/FriendsCount.tsx @@ -5,6 +5,7 @@ import {useNavigation} from '@react-navigation/native'; import {RootState} from '../../store/rootReducer'; import {useSelector} from 'react-redux'; import {ScreenType} from '../../types'; +import {normalize} from '../../utils'; interface FriendsCountProps extends ViewProps { userXId: string | undefined; @@ -55,11 +56,11 @@ const styles = StyleSheet.create({ }, count: { fontWeight: '700', - fontSize: 13, + fontSize: normalize(14), }, label: { fontWeight: '500', - fontSize: 13, + fontSize: normalize(14), }, }); |