Skip to content

Commit 75fddb1

Browse files
authored
Upgrades to latest PINRemoteImage which should fix GIF rendering. (facebookarchive#3057)
1 parent 4e779ee commit 75fddb1

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

AsyncDisplayKit.podspec

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ Pod::Spec.new do |spec|
4646
spec.subspec 'PINRemoteImage' do |pin|
4747
# Note: The core.prefix_header_file includes setup of PIN_REMOTE_IMAGE, so the line below could be removed.
4848
pin.xcconfig = { 'GCC_PREPROCESSOR_DEFINITIONS' => '$(inherited) PIN_REMOTE_IMAGE=1' }
49-
pin.dependency 'PINRemoteImage/iOS', '= 3.0.0-beta.7'
49+
pin.dependency 'PINRemoteImage/iOS', '= 3.0.0-beta.8'
5050
pin.dependency 'PINRemoteImage/PINCache'
5151
pin.dependency 'AsyncDisplayKit/Core'
5252
end

AsyncDisplayKit/Details/ASPINRemoteImageDownloader.m

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -164,8 +164,8 @@ - (BOOL)sharedImageManagerSupportsMemoryRemoval
164164
- (id <ASImageContainerProtocol>)synchronouslyFetchedCachedImageWithURL:(NSURL *)URL;
165165
{
166166
PINRemoteImageManager *manager = [self sharedPINRemoteImageManager];
167-
NSString *key = [manager cacheKeyForURL:URL processorKey:nil];
168-
PINRemoteImageManagerResult *result = [manager synchronousImageFromCacheWithCacheKey:key options:PINRemoteImageManagerDownloadOptionsSkipDecode];
167+
PINRemoteImageManagerResult *result = [manager synchronousImageFromCacheWithURL:URL processorKey:nil options:PINRemoteImageManagerDownloadOptionsSkipDecode];
168+
169169
#if PIN_ANIMATED_AVAILABLE
170170
if (result.alternativeRepresentation) {
171171
return result.alternativeRepresentation;

0 commit comments

Comments
 (0)