Fix images transition (#1590)

This commit is contained in:
Elias Nahum 2018-04-17 10:22:49 -03:00 committed by Harrison Healey
parent e6831beab7
commit a5662cc747
2 changed files with 2 additions and 1 deletions

View file

@ -379,7 +379,7 @@ export default class Downloader extends PureComponent {
render() {
const {show, downloadPath} = this.props;
if ((!show || this.state.didCancel) && !this.state.force) {
if (!show && !this.state.force) {
return null;
}

View file

@ -392,6 +392,7 @@ export default class ImagePreview extends PureComponent {
const {getPreviewProps} = this.props;
const containerStyle = this.getSwipeableStyle();
const previewProps = getPreviewProps(index);
Reflect.deleteProperty(previewProps, 'thumbnailUri');
return (
<ScrollView scrollEnabled={false}>