Fix images transition (#1590)
This commit is contained in:
parent
e6831beab7
commit
a5662cc747
2 changed files with 2 additions and 1 deletions
|
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -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}>
|
||||
|
|
|
|||
Loading…
Reference in a new issue