Skip to content

Commit

Permalink
add image 'alt' tag
Browse files Browse the repository at this point in the history
  • Loading branch information
thomHayner committed Dec 10, 2022
1 parent 023216b commit c0d9685
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions AppTimelineItem.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -172,6 +172,7 @@ export default function TimeLineItem({
<SafeAreaView style={{ flex: 1, backgroundColor: '#191109', }}>
<View style={styles.modalMedia}>
<Image
alt={itemData.alt ? `${itemData.alt}` : ""}
style={{ flex: 1, height: undefined, width: undefined, }}
source={itemData.media}
resizeMethod='auto'
Expand Down

0 comments on commit c0d9685

Please sign in to comment.