Fix `aria-label` on the Share button (#3159)
It had the same one as the Like button for some reasonzio/stable
parent
594958c6dc
commit
f6685419d8
|
@ -212,9 +212,7 @@ let PostCtrls = ({
|
|||
style={[styles.btn]}
|
||||
onPress={onShare}
|
||||
accessibilityRole="button"
|
||||
accessibilityLabel={`${
|
||||
post.viewer?.like ? _(msg`Unlike`) : _(msg`Like`)
|
||||
} (${post.likeCount} ${pluralize(post.likeCount || 0, 'like')})`}
|
||||
accessibilityLabel={`${_(msg`Share`)}`}
|
||||
accessibilityHint=""
|
||||
hitSlop={big ? HITSLOP_20 : HITSLOP_10}>
|
||||
<ArrowOutOfBox style={[defaultCtrlColor, styles.mt1]} width={22} />
|
||||
|
|
Loading…
Reference in New Issue