Merge pull request #383 from garthex/white_png_issue
fix alpha pngs turning into white pngs
This commit is contained in:
commit
ff2b30e263
|
@ -166,7 +166,7 @@
|
||||||
|
|
||||||
if (transformedImage && finished)
|
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];
|
[self.imageCache storeImage:transformedImage imageData:dataToStore forKey:key toDisk:cacheOnDisk];
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
Loading…
Reference in New Issue