Skip to content

Commit

Permalink
fix 64bit crash
Browse files Browse the repository at this point in the history
  • Loading branch information
heroims committed May 28, 2015
1 parent 8391fe5 commit c18f122
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 2 deletions.
1 change: 0 additions & 1 deletion SDWebImage/UIButton+WebCache.m
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,6 @@ - (void)sd_setImageWithURL:(NSURL *)url forState:(UIControlState)state placehold
animation.type =kCATransitionFade;
[sself.layer addAnimation:animation forKey:@"fade"];
}

[sself setImage:image forState:state];
}
if (completedBlock && finished) {
Expand Down
1 change: 0 additions & 1 deletion SDWebImage/UIImageView+WebCache.m
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,6 @@ - (void)sd_setImageWithURL:(NSURL *)url placeholderImage:(UIImage *)placeholder
animation.type =kCATransitionFade;
[wself.layer addAnimation:animation forKey:@"fade"];
}

wself.image = image;
[wself setNeedsLayout];
} else {
Expand Down

0 comments on commit c18f122

Please sign in to comment.