diff options
Diffstat (limited to 'src/view/com/profile')
-rw-r--r-- | src/view/com/profile/ProfileCard.tsx | 2 | ||||
-rw-r--r-- | src/view/com/profile/ProfileFollowers.tsx | 2 | ||||
-rw-r--r-- | src/view/com/profile/ProfileFollows.tsx | 2 | ||||
-rw-r--r-- | src/view/com/profile/ProfileHeader.tsx | 18 |
4 files changed, 12 insertions, 12 deletions
diff --git a/src/view/com/profile/ProfileCard.tsx b/src/view/com/profile/ProfileCard.tsx index 5d1992b7a..0cda3ba2a 100644 --- a/src/view/com/profile/ProfileCard.tsx +++ b/src/view/com/profile/ProfileCard.tsx @@ -39,7 +39,7 @@ export function ProfileCard({ <Text style={[s.bold, pal.text]} numberOfLines={1}> {displayName || handle} </Text> - <Text type="body2" style={[pal.textLight]} numberOfLines={1}> + <Text type="sm" style={[pal.textLight]} numberOfLines={1}> @{handle} </Text> </View> diff --git a/src/view/com/profile/ProfileFollowers.tsx b/src/view/com/profile/ProfileFollowers.tsx index 26939c7ce..469a91f8d 100644 --- a/src/view/com/profile/ProfileFollowers.tsx +++ b/src/view/com/profile/ProfileFollowers.tsx @@ -99,7 +99,7 @@ const User = ({item}: {item: FollowerItem}) => { <Text style={[s.bold, pal.text]}> {item.displayName || item.handle} </Text> - <Text type="body2" style={[pal.textLight]}> + <Text type="sm" style={[pal.textLight]}> @{item.handle} </Text> </View> diff --git a/src/view/com/profile/ProfileFollows.tsx b/src/view/com/profile/ProfileFollows.tsx index 03c5b13bb..9b413ab76 100644 --- a/src/view/com/profile/ProfileFollows.tsx +++ b/src/view/com/profile/ProfileFollows.tsx @@ -99,7 +99,7 @@ const User = ({item}: {item: FollowItem}) => { <Text style={[s.bold, pal.text]}> {item.displayName || item.handle} </Text> - <Text type="body2" style={pal.textLight}> + <Text type="sm" style={pal.textLight}> @{item.handle} </Text> </View> diff --git a/src/view/com/profile/ProfileHeader.tsx b/src/view/com/profile/ProfileHeader.tsx index 52a4400a5..ec577f25e 100644 --- a/src/view/com/profile/ProfileHeader.tsx +++ b/src/view/com/profile/ProfileHeader.tsx @@ -108,7 +108,7 @@ export const ProfileHeader = observer(function ProfileHeader({ /> </View> <View style={styles.displayNameLine}> - <Text type="h2" style={[pal.text, {lineHeight: 38}]}> + <Text type="title-xl" style={[pal.text, {lineHeight: 38}]}> {view.displayName || view.handle} </Text> </View> @@ -200,7 +200,7 @@ export const ProfileHeader = observer(function ProfileHeader({ ) : undefined} </View> <View style={styles.displayNameLine}> - <Text type="h2" style={[pal.text, {lineHeight: 38}]}> + <Text type="title-xl" style={[pal.text, {lineHeight: 38}]}> {view.displayName || view.handle} </Text> </View> @@ -212,10 +212,10 @@ export const ProfileHeader = observer(function ProfileHeader({ testID="profileHeaderFollowersButton" style={[s.flexRow, s.mr10]} onPress={onPressFollowers}> - <Text type="body2" style={[s.bold, s.mr2, pal.text]}> + <Text type="md" style={[s.bold, s.mr2, pal.text]}> {view.followersCount} </Text> - <Text type="body2" style={[pal.textLight]}> + <Text type="md" style={[pal.textLight]}> {pluralize(view.followersCount, 'follower')} </Text> </TouchableOpacity> @@ -224,19 +224,19 @@ export const ProfileHeader = observer(function ProfileHeader({ testID="profileHeaderFollowsButton" style={[s.flexRow, s.mr10]} onPress={onPressFollows}> - <Text type="body2" style={[s.bold, s.mr2, pal.text]}> + <Text type="md" style={[s.bold, s.mr2, pal.text]}> {view.followsCount} </Text> - <Text type="body2" style={[pal.textLight]}> + <Text type="md" style={[pal.textLight]}> following </Text> </TouchableOpacity> ) : undefined} <View style={[s.flexRow, s.mr10]}> - <Text type="body2" style={[s.bold, s.mr2, pal.text]}> + <Text type="md" style={[s.bold, s.mr2, pal.text]}> {view.postsCount} </Text> - <Text type="body2" style={[pal.textLight]}> + <Text type="md" style={[pal.textLight]}> {pluralize(view.postsCount, 'post')} </Text> </View> @@ -255,7 +255,7 @@ export const ProfileHeader = observer(function ProfileHeader({ icon={['far', 'eye-slash']} style={[pal.text, s.mr5]} /> - <Text type="body2" style={[s.mr2, pal.text]}> + <Text type="md" style={[s.mr2, pal.text]}> Account muted. </Text> </View> |