diff --git a/src/main/java/com/budiyev/android/imageloader/BaseLoadImageAction.java b/src/main/java/com/budiyev/android/imageloader/BaseLoadImageAction.java index 2bfaca0..b2feca3 100644 --- a/src/main/java/com/budiyev/android/imageloader/BaseLoadImageAction.java +++ b/src/main/java/com/budiyev/android/imageloader/BaseLoadImageAction.java @@ -219,7 +219,7 @@ protected final void loadImage() { if (memoryCache != null) { memoryCache.put(key, image); } - if (storageCache != null && (changed || descriptor.getLocation() == DataLocation.REMOTE)) { + if (storageCache != null && (changed || descriptor.getLocation() != DataLocation.LOCAL)) { storageCache.put(key, image); } }