fix alpha pngs turning into white pngs when caching when you have a method that transforms the image but doesn't touch the pngs
This commit is contained in:
parent
4137bce30d
commit
e3b15e3dbe
|
@ -160,7 +160,7 @@
|
|||
|
||||
if (transformedImage && finished)
|
||||
{
|
||||
NSData *dataToStore = isImageGIF ? data : nil;
|
||||
NSData *dataToStore = [transformedImage isEqual:downloadedImage] ? data : nil;
|
||||
[self.imageCache storeImage:transformedImage imageData:dataToStore forKey:key toDisk:cacheOnDisk];
|
||||
}
|
||||
});
|
||||
|
|
Loading…
Reference in New Issue