Skip to content

Commit

Permalink
bug fix
Browse files Browse the repository at this point in the history
  • Loading branch information
kelingjie1 committed Feb 27, 2018
1 parent d4fdfc3 commit 430e9b0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion LKImageKit/Components/Decoder/LKImageSystemDecoder.m
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ - (UIImage *)imageFromData:(NSData *)data request:(LKImageRequest *)request erro
CFMutableDictionaryRef option = CFDictionaryCreateMutable(kCFAllocatorDefault, 0, nil, nil);
if (request.processorList.count == 0)
{
CFDictionarySetValue(option, kCGImageSourceShouldCacheImmediately, kCFBooleanFalse);
CFDictionarySetValue(option, kCGImageSourceShouldCacheImmediately, kCFBooleanTrue);
}

NSUInteger count = CGImageSourceGetCount(imageSource);
Expand Down

0 comments on commit 430e9b0

Please sign in to comment.