diff --git a/Demo/package.json b/Demo/package.json index aa00842..d98a358 100644 --- a/Demo/package.json +++ b/Demo/package.json @@ -9,7 +9,7 @@ "dependencies": { "react": "16.0.0-alpha.12", "react-native": "0.48.2", - "react-native-image-gallery": "2.1.1" + "react-native-image-gallery": "2.1.3" }, "devDependencies": { "babel-jest": "21.0.2", diff --git a/package.json b/package.json index 524a693..fbac0aa 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "react-native-image-gallery", - "version": "2.1.2", + "version": "2.1.3", "description": "Pure JavaScript image gallery component for iOS and Android", "main": "src/Gallery.js", "scripts": { diff --git a/src/libraries/TransformableImage/index.js b/src/libraries/TransformableImage/index.js index 288f90c..8ff8469 100644 --- a/src/libraries/TransformableImage/index.js +++ b/src/libraries/TransformableImage/index.js @@ -163,6 +163,7 @@ export default class TransformableImage extends PureComponent { const imageProps = { ...this.props, + imageLoaded, source: image.source, style: [style, { backgroundColor: 'transparent' }], resizeMode: resizeMode,