show precise count in label/hover text (#6164)
This commit is contained in:
@@ -36,7 +36,7 @@ export function ProfileHeaderMetrics({
|
|||||||
testID="profileHeaderFollowersButton"
|
testID="profileHeaderFollowersButton"
|
||||||
style={[a.flex_row, t.atoms.text]}
|
style={[a.flex_row, t.atoms.text]}
|
||||||
to={makeProfileLink(profile, 'followers')}
|
to={makeProfileLink(profile, 'followers')}
|
||||||
label={`${followers} ${pluralizedFollowers}`}>
|
label={`${profile.followersCount || 0} ${pluralizedFollowers}`}>
|
||||||
<Text style={[a.font_bold, a.text_md]}>{followers} </Text>
|
<Text style={[a.font_bold, a.text_md]}>{followers} </Text>
|
||||||
<Text style={[t.atoms.text_contrast_medium, a.text_md]}>
|
<Text style={[t.atoms.text_contrast_medium, a.text_md]}>
|
||||||
{pluralizedFollowers}
|
{pluralizedFollowers}
|
||||||
@@ -46,7 +46,7 @@ export function ProfileHeaderMetrics({
|
|||||||
testID="profileHeaderFollowsButton"
|
testID="profileHeaderFollowsButton"
|
||||||
style={[a.flex_row, t.atoms.text]}
|
style={[a.flex_row, t.atoms.text]}
|
||||||
to={makeProfileLink(profile, 'follows')}
|
to={makeProfileLink(profile, 'follows')}
|
||||||
label={_(msg`${following} following`)}>
|
label={_(msg`${profile.followsCount || 0} following`)}>
|
||||||
<Text style={[a.font_bold, a.text_md]}>{following} </Text>
|
<Text style={[a.font_bold, a.text_md]}>{following} </Text>
|
||||||
<Text style={[t.atoms.text_contrast_medium, a.text_md]}>
|
<Text style={[t.atoms.text_contrast_medium, a.text_md]}>
|
||||||
{pluralizedFollowings}
|
{pluralizedFollowings}
|
||||||
|
|||||||
Reference in New Issue
Block a user