about summary refs log tree commit diff
path: root/src/view/com/util/images/AutoSizedImage.tsx
diff options
context:
space:
mode:
authorPaul Frazee <pfrazee@gmail.com>2023-10-30 17:08:07 -0700
committerPaul Frazee <pfrazee@gmail.com>2023-10-30 17:08:07 -0700
commit1acf4969c5493cded6237cfc44ca48486f399286 (patch)
tree28a56c0d04ddcd8e980459a24802fa8b232103ee /src/view/com/util/images/AutoSizedImage.tsx
parentdbbd71c6d0261810f8de67edb2402d4caeac71fc (diff)
downloadvoidsky-1acf4969c5493cded6237cfc44ca48486f399286.tar.zst
Fix lint
Diffstat (limited to 'src/view/com/util/images/AutoSizedImage.tsx')
-rw-r--r--src/view/com/util/images/AutoSizedImage.tsx2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/view/com/util/images/AutoSizedImage.tsx b/src/view/com/util/images/AutoSizedImage.tsx
index d8ecdec1b..6cbcddc32 100644
--- a/src/view/com/util/images/AutoSizedImage.tsx
+++ b/src/view/com/util/images/AutoSizedImage.tsx
@@ -52,6 +52,8 @@ export function AutoSizedImage({
 
   if (onPress || onLongPress || onPressIn) {
     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
         onPress={onPress}
         onLongPress={onLongPress}