Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Fix SDWebImageManager transformDownloadedImage

storing data of transformed image instead of downloaded one
(passing nil to storeImage will generate data)
  • Loading branch information...
commit 55096d8b91565460106d2ea4513fb5a155be1b44 1 parent 8cfd26f
@bm-i bm-i authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  SDWebImage/SDWebImageManager.m
View
2  SDWebImage/SDWebImageManager.m
@@ -154,7 +154,7 @@ - (NSString *)cacheKeyForURL:(NSURL *)url
if (transformedImage && finished)
{
- [self.imageCache storeImage:transformedImage imageData:data forKey:key toDisk:cacheOnDisk];
+ [self.imageCache storeImage:transformedImage imageData:nil forKey:key toDisk:cacheOnDisk];
}
});
}
Please sign in to comment.
Something went wrong with that request. Please try again.