about summary refs log tree commit diff
diff options
context:
space:
mode:
authorAlice <81575558+aliceisjustplaying@users.noreply.github.com>2024-03-09 21:07:56 +0000
committerGitHub <noreply@github.com>2024-03-09 13:07:56 -0800
commitf6685419d8ec29823cdd2bd965a97099830b8240 (patch)
tree2202aacbbbbf18f76be89a0d2ea933aeed759565
parent594958c6dc2a69155c19bcd108f19fe9c64f98be (diff)
downloadvoidsky-f6685419d8ec29823cdd2bd965a97099830b8240.tar.zst
Fix `aria-label` on the Share button (#3159)
It had the same one as the Like button for some reason
-rw-r--r--src/view/com/util/post-ctrls/PostCtrls.tsx4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/view/com/util/post-ctrls/PostCtrls.tsx b/src/view/com/util/post-ctrls/PostCtrls.tsx
index b1ec32b3f..1e26eecce 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}>
             <ArrowOutOfBox style={[defaultCtrlColor, styles.mt1]} width={22} />