Skip to content

Commit

Permalink
Had the conditional in ASNetworkImageNode wrong (facebookarchive#2781)
Browse files Browse the repository at this point in the history
  • Loading branch information
garrettmoon authored and appleguy committed Dec 15, 2016
1 parent dabb69d commit 6399a44
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion AsyncDisplayKit/ASNetworkImageNode.mm
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ - (void)setImage:(UIImage *)image
{
ASDN::MutexLocker l(__instanceLock__);

_imageWasSetExternally = (image != nil && _URL != nil);
_imageWasSetExternally = (image != nil && _URL == nil);

[self _setImage:image];
}
Expand Down

0 comments on commit 6399a44

Please sign in to comment.