diff options
author | Paul Frazee <pfrazee@gmail.com> | 2023-10-26 10:40:35 -0700 |
---|---|---|
committer | Paul Frazee <pfrazee@gmail.com> | 2023-10-26 10:40:35 -0700 |
commit | a1a61ef2e5d9d36877c7078580572ae70e468a4a (patch) | |
tree | 90878708e958bf268d86b2fa653017b141637e67 /src/view/com/util/images/ImageLayoutGrid.tsx | |
parent | 01e25c912cb156aa4a2c34ddef8206d045ee2b89 (diff) | |
parent | 927cee18d9c4425398e90811d4ed24098bf67396 (diff) | |
download | voidsky-a1a61ef2e5d9d36877c7078580572ae70e468a4a.tar.zst |
Merge branch 'main' of github.com:bluesky-social/social-app into main
Diffstat (limited to 'src/view/com/util/images/ImageLayoutGrid.tsx')
-rw-r--r-- | src/view/com/util/images/ImageLayoutGrid.tsx | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/view/com/util/images/ImageLayoutGrid.tsx b/src/view/com/util/images/ImageLayoutGrid.tsx index 2e352d086..4aa6f28de 100644 --- a/src/view/com/util/images/ImageLayoutGrid.tsx +++ b/src/view/com/util/images/ImageLayoutGrid.tsx @@ -63,8 +63,8 @@ function ImageLayoutGridInner(props: ImageLayoutGridInnerProps) { case 4: return ( - <View style={styles.flexRow}> - <View style={{flex: 1}}> + <> + <View style={styles.flexRow}> <View style={styles.smallItem}> <GalleryItem {...props} index={0} imageStyle={styles.image} /> </View> @@ -72,7 +72,7 @@ function ImageLayoutGridInner(props: ImageLayoutGridInnerProps) { <GalleryItem {...props} index={2} imageStyle={styles.image} /> </View> </View> - <View style={{flex: 1}}> + <View style={styles.flexRow}> <View style={styles.smallItem}> <GalleryItem {...props} index={1} imageStyle={styles.image} /> </View> @@ -80,7 +80,7 @@ function ImageLayoutGridInner(props: ImageLayoutGridInnerProps) { <GalleryItem {...props} index={3} imageStyle={styles.image} /> </View> </View> - </View> + </> ) default: |