From 6e99059007ab67a0b22c2340b73fd4bb9c9c89b8 Mon Sep 17 00:00:00 2001 From: Olivier Poitrey Date: Mon, 19 Nov 2012 16:58:45 +0100 Subject: [PATCH] Fix demo app regarding last changes --- Examples/SDWebImage Demo/DetailViewController.m | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Examples/SDWebImage Demo/DetailViewController.m b/Examples/SDWebImage Demo/DetailViewController.m index adc1f80..cd026eb 100644 --- a/Examples/SDWebImage Demo/DetailViewController.m +++ b/Examples/SDWebImage Demo/DetailViewController.m @@ -37,7 +37,7 @@ [self.imageView addSubview:activityIndicator = [UIActivityIndicatorView.alloc initWithActivityIndicatorStyle:UIActivityIndicatorViewStyleGray]]; activityIndicator.center = self.imageView.center; [activityIndicator startAnimating]; - [self.imageView setImageWithURL:self.imageURL placeholderImage:nil options:SDWebImageProgressiveDownload completed:^(UIImage *image, NSError *error, BOOL fromCache) + [self.imageView setImageWithURL:self.imageURL placeholderImage:nil options:SDWebImageProgressiveDownload completed:^(UIImage *image, NSError *error, SDImageCacheType cacheType) { [activityIndicator removeFromSuperview]; }];