use variable

This commit is contained in:
Hailey 2024-01-30 16:45:02 -08:00
parent df740c85e0
commit fc8ea01741

View file

@ -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>