about summary refs log tree commit diff
path: root/src
diff options
context:
space:
mode:
authorPaul Frazee <pfrazee@gmail.com>2023-11-14 15:10:58 -0800
committerGitHub <noreply@github.com>2023-11-14 17:10:58 -0600
commite08d06f263a3db1615cf6a1462c4fdc9be33f64a (patch)
tree9e7ec1973d090a67a3753a70f13789479b63e707 /src
parent68767d597e82bf492ca02792182898cd5f64df21 (diff)
downloadvoidsky-e08d06f263a3db1615cf6a1462c4fdc9be33f64a.tar.zst
Fix image order in 4-image post embeds (close #1895) (#1904)
Diffstat (limited to 'src')
-rw-r--r--src/view/com/util/images/ImageLayoutGrid.tsx4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/view/com/util/images/ImageLayoutGrid.tsx b/src/view/com/util/images/ImageLayoutGrid.tsx
index 4aa6f28de..23e807b6a 100644
--- a/src/view/com/util/images/ImageLayoutGrid.tsx
+++ b/src/view/com/util/images/ImageLayoutGrid.tsx
@@ -69,12 +69,12 @@ function ImageLayoutGridInner(props: ImageLayoutGridInnerProps) {
               <GalleryItem {...props} index={0} imageStyle={styles.image} />
             </View>
             <View style={styles.smallItem}>
-              <GalleryItem {...props} index={2} imageStyle={styles.image} />
+              <GalleryItem {...props} index={1} imageStyle={styles.image} />
             </View>
           </View>
           <View style={styles.flexRow}>
             <View style={styles.smallItem}>
-              <GalleryItem {...props} index={1} imageStyle={styles.image} />
+              <GalleryItem {...props} index={2} imageStyle={styles.image} />
             </View>
             <View style={styles.smallItem}>
               <GalleryItem {...props} index={3} imageStyle={styles.image} />