From f6685419d8ec29823cdd2bd965a97099830b8240 Mon Sep 17 00:00:00 2001 From: Alice <81575558+aliceisjustplaying@users.noreply.github.com> Date: Sat, 9 Mar 2024 21:07:56 +0000 Subject: [PATCH] Fix `aria-label` on the Share button (#3159) It had the same one as the Like button for some reason --- src/view/com/util/post-ctrls/PostCtrls.tsx | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/view/com/util/post-ctrls/PostCtrls.tsx b/src/view/com/util/post-ctrls/PostCtrls.tsx index b1ec32b3..1e26eecc 100644 --- a/src/view/com/util/post-ctrls/PostCtrls.tsx +++ b/src/view/com/util/post-ctrls/PostCtrls.tsx @@ -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}>