hide alt text note after it's added

This commit is contained in:
Samuel Newman
2026-03-26 11:36:08 +02:00
parent 4d0774b75e
commit c395e0705e
2 changed files with 9 additions and 7 deletions
+1 -1
View File
@@ -101,7 +101,7 @@ export function GifAltTextDialogLoaded({
</Text>
</TouchableOpacity>
<Admonition type="tip" style={[a.mt_sm]}>
<Admonition type="info" style={[a.mt_sm]}>
<Trans>
Alt text describes images for blind and low-vision users, and helps
give context to everyone.
+8 -6
View File
@@ -120,12 +120,14 @@ const GalleryInner = ({images, containerInfo, dispatch}: GalleryInnerProps) => {
)
})}
</View>
<Admonition type="tip" style={[a.mt_sm]}>
<Trans>
Alt text describes images for blind and low-vision users, and helps
give context to everyone.
</Trans>
</Admonition>
{images.some(image => !image.alt) && (
<Admonition type="info" style={[a.mt_sm]}>
<Trans>
Alt text describes images for blind and low-vision users, and helps
give context to everyone.
</Trans>
</Admonition>
)}
</>
) : null
}