From 55096d8b91565460106d2ea4513fb5a155be1b44 Mon Sep 17 00:00:00 2001 From: bm-i Date: Tue, 12 Mar 2013 23:32:35 +0100 Subject: [PATCH] Fix SDWebImageManager transformDownloadedImage storing data of transformed image instead of downloaded one (passing nil to storeImage will generate data) --- SDWebImage/SDWebImageManager.m | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/SDWebImage/SDWebImageManager.m b/SDWebImage/SDWebImageManager.m index c73593b5..c7fee6a2 100644 --- a/SDWebImage/SDWebImageManager.m +++ b/SDWebImage/SDWebImageManager.m @@ -154,7 +154,7 @@ if (transformedImage && finished) { - [self.imageCache storeImage:transformedImage imageData:data forKey:key toDisk:cacheOnDisk]; + [self.imageCache storeImage:transformedImage imageData:nil forKey:key toDisk:cacheOnDisk]; } }); }