From bdb55cb1a6d0001a268f3ac3657fef44c2813390 Mon Sep 17 00:00:00 2001 From: ay8s Date: Thu, 14 Mar 2019 11:03:51 -0700 Subject: [PATCH] Fix GIF Caching --- Source/ASNetworkImageNode.mm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Source/ASNetworkImageNode.mm b/Source/ASNetworkImageNode.mm index e7910cd78..5bd87f62c 100644 --- a/Source/ASNetworkImageNode.mm +++ b/Source/ASNetworkImageNode.mm @@ -821,7 +821,7 @@ - (void)_lazilyLoadImageIfNecessary return; } - if ([imageContainer asdk_image] == nil && self->_downloader != nil) { + if ([imageContainer asdk_image] == nil && [imageContainer asdk_animatedImageData] == nil && self->_downloader != nil) { if (delegateWillLoadImageFromNetwork) { [delegate imageNodeWillLoadImageFromNetwork:self]; }