Skip to content

Commit

Permalink
Fix GIF Caching (#1405)
Browse files Browse the repository at this point in the history
  • Loading branch information
ay8s authored and Adlai-Holler committed Mar 18, 2019
1 parent 502256b commit 59279e7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Source/ASNetworkImageNode.mm
Original file line number Diff line number Diff line change
Expand Up @@ -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];
}
Expand Down

0 comments on commit 59279e7

Please sign in to comment.