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]}
|
style={[styles.btn]}
|
||||||
onPress={onShare}
|
onPress={onShare}
|
||||||
accessibilityRole="button"
|
accessibilityRole="button"
|
||||||
accessibilityLabel={`${
|
accessibilityLabel={`${_(msg`Share`)}`}
|
||||||
post.viewer?.like ? _(msg`Unlike`) : _(msg`Like`)
|
|
||||||
} (${post.likeCount} ${pluralize(post.likeCount || 0, 'like')})`}
|
|
||||||
accessibilityHint=""
|
accessibilityHint=""
|
||||||
hitSlop={big ? HITSLOP_20 : HITSLOP_10}>
|
hitSlop={big ? HITSLOP_20 : HITSLOP_10}>
|
||||||
<ArrowOutOfBox style={[defaultCtrlColor, styles.mt1]} width={22} />
|
<ArrowOutOfBox style={[defaultCtrlColor, styles.mt1]} width={22} />
|
||||||
|
|
Loading…
Reference in New Issue