Skip to content

Commit

Permalink
Update src/components/ImageView/index.native.js
Browse files Browse the repository at this point in the history
Co-authored-by: Carlos Martins <luacmartins@gmail.com>
  • Loading branch information
JediWattson and luacmartins authored Dec 13, 2022
1 parent e46566d commit 938adda
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/ImageView/index.native.js
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ class ImageView extends PureComponent {
}

componentDidUpdate(prevProps) {
// This resizes the images on cycling
// Resize the image when cycled through
if (!this.state.containerHeight || this.state.isLoading || prevProps.url === this.props.url) {
return;
}
Expand Down

0 comments on commit 938adda

Please sign in to comment.