diff options
author | Paul Frazee <pfrazee@gmail.com> | 2023-10-30 17:03:34 -0700 |
---|---|---|
committer | Paul Frazee <pfrazee@gmail.com> | 2023-10-30 17:03:34 -0700 |
commit | dbbd71c6d0261810f8de67edb2402d4caeac71fc (patch) | |
tree | c0889f3c2010b3c64e6a889d7a62ae086899ce32 | |
parent | 84ee64025f683ec846827bf98c26a0bf8c54c080 (diff) | |
parent | c39352f859d5e50d7a354408f7caad3103232683 (diff) | |
download | voidsky-dbbd71c6d0261810f8de67edb2402d4caeac71fc.tar.zst |
Merge branch 'patch-1' of https://github.com/elijah-wright/social-app into elijah-wright-patch-1
-rw-r--r-- | src/view/com/util/images/AutoSizedImage.tsx | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/src/view/com/util/images/AutoSizedImage.tsx b/src/view/com/util/images/AutoSizedImage.tsx index 035e29c25..d8ecdec1b 100644 --- a/src/view/com/util/images/AutoSizedImage.tsx +++ b/src/view/com/util/images/AutoSizedImage.tsx @@ -56,16 +56,14 @@ export function AutoSizedImage({ onPress={onPress} onLongPress={onLongPress} onPressIn={onPressIn} - style={[styles.container, style]} - accessible={true} - accessibilityRole="button" - accessibilityLabel={alt || 'Image'} - accessibilityHint="Tap to view fully"> + style={[styles.container, style]}> <Image style={[styles.image, {aspectRatio}]} source={uri} - accessible={false} // Must set for `accessibilityLabel` to work + accessible={true} // Must set for `accessibilityLabel` to work accessibilityIgnoresInvertColors + accessibilityLabel={alt} + accessibilityHint="Tap to view fully" /> {children} </Pressable> |