Permalink
Browse files

moving self.image = nil into else statement

  • Loading branch information...
1 parent edf7d65 commit 4fd610620bb89098d150e09faf34992a7fd4551c Jan Sichermann committed Sep 4, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 Classes/FLImageView.m
View
2 Classes/FLImageView.m
@@ -104,14 +104,14 @@ - (void)prepareForReuse {
- (void)loadImageAtURL:(NSURL *)url placeholderImage:(UIImage *)placeholderImage {
self.url = url; // sets up observer
- self.image = nil;
UIImage *image = [[FullyLoaded sharedFullyLoaded] imageForURL:url];
if (image) {
[self populateImage:image];
[self didPopulateImage:YES];
}
else {
+ self.image = nil;
[self populateImage:placeholderImage];
//only show image loading if we're going to the network to fetch it

0 comments on commit 4fd6106

Please sign in to comment.