Add ability to reply, repost (without quote post), and like posts using VoiceOver (#765)

Co-authored-by: Paul Frazee <pfrazee@gmail.com>
This commit is contained in:
Ollie H 2023-05-30 17:50:56 -07:00 committed by GitHub
parent 7458b6f600
commit a9a661ab58
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
6 changed files with 138 additions and 30 deletions

View file

@ -191,9 +191,7 @@ export function PostCtrls(opts: PostCtrlsOpts) {
onPress={onPressToggleLikeWrapper}
accessibilityRole="button"
accessibilityLabel={opts.isLiked ? 'Unlike' : 'Like'}
accessibilityHint={
opts.isReposted ? 'Removes like from the post' : 'Like the post'
}>
accessibilityHint="">
{opts.isLiked ? (
<HeartIconSolid
style={styles.ctrlIconLiked}