diff --git a/src/components/ImageWithSizeCalculation.js b/src/components/ImageWithSizeCalculation.js index 64e1cf7f7d7e..74795b42a57b 100644 --- a/src/components/ImageWithSizeCalculation.js +++ b/src/components/ImageWithSizeCalculation.js @@ -82,7 +82,7 @@ class ImageWithSizeCalculation extends PureComponent { ]} source={{uri: this.props.url}} isAuthTokenRequired={this.props.isAuthTokenRequired} - resizeMode={Image.resizeMode.contain} + resizeMode={Image.resizeMode.cover} onLoadStart={this.imageLoadingStart} onLoadEnd={this.imageLoadingEnd} onError={this.onError} diff --git a/src/components/ThumbnailImage.js b/src/components/ThumbnailImage.js index dedd320d1c91..1c1e1bfec38e 100644 --- a/src/components/ThumbnailImage.js +++ b/src/components/ThumbnailImage.js @@ -72,7 +72,7 @@ class ThumbnailImage extends PureComponent { } else { thumbnailScreenHeight = Math.round(thumbnailScreenWidth * aspectRatio); } - return {thumbnailWidth: thumbnailScreenWidth, thumbnailHeight: Math.max(40, thumbnailScreenHeight)}; + return {thumbnailWidth: Math.max(40, thumbnailScreenWidth), thumbnailHeight: Math.max(40, thumbnailScreenHeight)}; } /**