Skip to content

Commit 4a0da3e

Browse files
committed
Fixed reference
1 parent 26b3f4a commit 4a0da3e

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

image.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ class CacheableImage extends React.Component {
2828
};
2929

3030
componentWillReceiveProps(nextProps) {
31-
if (nextProps.source != this.props.source || nextProps.networkAvailable != this.state.networkAvailable) {
31+
if (nextProps.source != this.props.source || nextProps.networkAvailable != this.networkAvailable) {
3232
this.networkAvailable = nextProps.networkAvailable;
3333
this._processSource(nextProps.source);
3434
}

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "react-native-cacheable-image",
3-
"version": "1.5.0",
3+
"version": "1.5.1",
44
"description": "An Image component for React Native that will cache itself to disk",
55
"main": "image.js",
66
"scripts": {

0 commit comments

Comments
 (0)