Fix image order in 4-image post embeds (close #1895) (#1904)

zio/stable
Paul Frazee 2023-11-14 15:10:58 -08:00 committed by GitHub
parent 68767d597e
commit e08d06f263
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -69,12 +69,12 @@ function ImageLayoutGridInner(props: ImageLayoutGridInnerProps) {
<GalleryItem {...props} index={0} imageStyle={styles.image} /> <GalleryItem {...props} index={0} imageStyle={styles.image} />
</View> </View>
<View style={styles.smallItem}> <View style={styles.smallItem}>
<GalleryItem {...props} index={2} imageStyle={styles.image} /> <GalleryItem {...props} index={1} imageStyle={styles.image} />
</View> </View>
</View> </View>
<View style={styles.flexRow}> <View style={styles.flexRow}>
<View style={styles.smallItem}> <View style={styles.smallItem}>
<GalleryItem {...props} index={1} imageStyle={styles.image} /> <GalleryItem {...props} index={2} imageStyle={styles.image} />
</View> </View>
<View style={styles.smallItem}> <View style={styles.smallItem}>
<GalleryItem {...props} index={3} imageStyle={styles.image} /> <GalleryItem {...props} index={3} imageStyle={styles.image} />