Fix lint
parent
dbbd71c6d0
commit
1acf4969c5
|
@ -52,6 +52,8 @@ export function AutoSizedImage({
|
||||||
|
|
||||||
if (onPress || onLongPress || onPressIn) {
|
if (onPress || onLongPress || onPressIn) {
|
||||||
return (
|
return (
|
||||||
|
// disable a11y rule because in this case we want the tags on the image (#1640)
|
||||||
|
// eslint-disable-next-line react-native-a11y/has-valid-accessibility-descriptors
|
||||||
<Pressable
|
<Pressable
|
||||||
onPress={onPress}
|
onPress={onPress}
|
||||||
onLongPress={onLongPress}
|
onLongPress={onLongPress}
|
||||||
|
|
Loading…
Reference in New Issue