diff --git a/src/view/com/notifications/FeedItem.tsx b/src/view/com/notifications/FeedItem.tsx index ac2e2a19..7994c53a 100644 --- a/src/view/com/notifications/FeedItem.tsx +++ b/src/view/com/notifications/FeedItem.tsx @@ -165,7 +165,7 @@ export const FeedItem = observer(function ({ } return ( - // eslint-disable-next-line + // eslint-disable-next-line react-native-a11y/no-nested-touchables void style?: StyleProp } -export function ImageHorzList({images, onPress, style}: Props) { - const numImages = images.length +export function ImageHorzList({images, style}: Props) { return ( - {images.map(({thumb, alt}, i) => ( - onPress?.(i)} + {images.map(({thumb, alt}) => ( + { - switch (action.nativeEvent.actionName) { - case 'press': - onPress?.(0) - break - default: - break - } - }}> - - + accessibilityIgnoresInvertColors + accessibilityHint={alt} + accessibilityLabel="" + /> ))} )