Skip to content

Commit 55096d8

Browse files
committed
Fix SDWebImageManager transformDownloadedImage
storing data of transformed image instead of downloaded one (passing nil to storeImage will generate data)
1 parent 8cfd26f commit 55096d8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

SDWebImage/SDWebImageManager.m

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -154,7 +154,7 @@ - (NSString *)cacheKeyForURL:(NSURL *)url
154154

155155
if (transformedImage && finished)
156156
{
157-
[self.imageCache storeImage:transformedImage imageData:data forKey:key toDisk:cacheOnDisk];
157+
[self.imageCache storeImage:transformedImage imageData:nil forKey:key toDisk:cacheOnDisk];
158158
}
159159
});
160160
}

0 commit comments

Comments
 (0)