From b72605b4e5a02413abc1d8693fd9868de77ed782 Mon Sep 17 00:00:00 2001 From: LuD1161 Date: Sun, 27 Sep 2020 17:28:25 +0530 Subject: [PATCH] Changed image from 'cover' to 'stretch' for proper visiblity with large images --- src/Twitter/ImageGallery.tsx | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/src/Twitter/ImageGallery.tsx b/src/Twitter/ImageGallery.tsx index 265af0c..cc9a683 100644 --- a/src/Twitter/ImageGallery.tsx +++ b/src/Twitter/ImageGallery.tsx @@ -77,7 +77,7 @@ export const ImageGallery = (props: PropsType) => { flex: 1, width: "100%", }} - resizeMode={"cover"} + resizeMode={"stretch"} /> {medias[3] ? ( @@ -96,7 +96,7 @@ export const ImageGallery = (props: PropsType) => { flex: 1, width: "100%", }} - resizeMode={"cover"} + resizeMode={"stretch"} /> @@ -119,7 +119,7 @@ export const ImageGallery = (props: PropsType) => { flex: 1, width: "100%", }} - resizeMode={"cover"} + resizeMode={"stretch"} /> {medias[2] ? ( @@ -138,7 +138,7 @@ export const ImageGallery = (props: PropsType) => { flex: 1, width: "100%", }} - resizeMode={"cover"} + resizeMode={"stretch"} /> @@ -187,6 +187,7 @@ export const ImageGallery = (props: PropsType) => { flex: 1, aspectRatio: element.aspectRatio, }} + resizeMode={"stretch"} /> ))}