diff options
author | Hailey <me@haileyok.com> | 2024-01-30 16:45:02 -0800 |
---|---|---|
committer | Hailey <me@haileyok.com> | 2024-01-30 16:45:02 -0800 |
commit | fc8ea01741d7c8da625b21eece0c6fd5e90076de (patch) | |
tree | 99da95de21c0a988dfe9a34c45159cbc3ea68f6b /src | |
parent | df740c85e0539cc6823f592baa52003d1676f7d8 (diff) | |
download | voidsky-fc8ea01741d7c8da625b21eece0c6fd5e90076de.tar.zst |
use variable
Diffstat (limited to 'src')
-rw-r--r-- | src/view/com/util/images/ImageLayoutGrid.tsx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/view/com/util/images/ImageLayoutGrid.tsx b/src/view/com/util/images/ImageLayoutGrid.tsx index 70122f67f..5698e26cb 100644 --- a/src/view/com/util/images/ImageLayoutGrid.tsx +++ b/src/view/com/util/images/ImageLayoutGrid.tsx @@ -51,7 +51,7 @@ function ImageLayoutGridInner(props: ImageLayoutGridInnerProps) { <View style={{flex: 2, aspectRatio: isWeb ? 1 : undefined}}> <GalleryItem {...props} index={0} imageStyle={styles.image} /> </View> - <View style={{flex: 1, gap: !isWeb ? 5 : undefined}}> + <View style={{flex: 1, gap: !isWeb ? IMAGE_GAP : undefined}}> <View style={styles.smallItem}> <GalleryItem {...props} index={1} imageStyle={styles.image} /> </View> |