use contentFit prop (#9452)
This commit is contained in:
@@ -230,6 +230,7 @@ const GalleryItem = ({
|
|||||||
accessibilityIgnoresInvertColors
|
accessibilityIgnoresInvertColors
|
||||||
cachePolicy="none"
|
cachePolicy="none"
|
||||||
autoplay={false}
|
autoplay={false}
|
||||||
|
contentFit="cover"
|
||||||
/>
|
/>
|
||||||
|
|
||||||
<MediaInsetBorder />
|
<MediaInsetBorder />
|
||||||
@@ -274,7 +275,6 @@ const styles = StyleSheet.create({
|
|||||||
marginTop: 16,
|
marginTop: 16,
|
||||||
},
|
},
|
||||||
image: {
|
image: {
|
||||||
resizeMode: 'cover',
|
|
||||||
borderRadius: tokens.borderRadius.md,
|
borderRadius: tokens.borderRadius.md,
|
||||||
},
|
},
|
||||||
imageControl: {
|
imageControl: {
|
||||||
|
|||||||
Reference in New Issue
Block a user