Bluesky app fork with some witchin' additions 💫
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

Hide alt text note after alt text is added (#10132)

authored by

Samuel Newman and committed by
GitHub
f30acadc 9b20023c

+9 -7
+1 -1
src/view/com/composer/GifAltText.tsx
··· 101 101 </Text> 102 102 </TouchableOpacity> 103 103 104 - <Admonition type="tip" style={[a.mt_sm]}> 104 + <Admonition type="info" style={[a.mt_sm]}> 105 105 <Trans> 106 106 Alt text describes images for blind and low-vision users, and helps 107 107 give context to everyone.
+8 -6
src/view/com/composer/photos/Gallery.tsx
··· 120 120 ) 121 121 })} 122 122 </View> 123 - <Admonition type="tip" style={[a.mt_sm]}> 124 - <Trans> 125 - Alt text describes images for blind and low-vision users, and helps 126 - give context to everyone. 127 - </Trans> 128 - </Admonition> 123 + {images.some(image => !image.alt) && ( 124 + <Admonition type="info" style={[a.mt_sm]}> 125 + <Trans> 126 + Alt text describes images for blind and low-vision users, and helps 127 + give context to everyone. 128 + </Trans> 129 + </Admonition> 130 + )} 129 131 </> 130 132 ) : null 131 133 }