From 767ea255251a46ea9a6b01123531c9e40cfe1c3f Mon Sep 17 00:00:00 2001 From: DreamPiggy Date: Fri, 10 Jan 2020 19:44:35 +0800 Subject: [PATCH] Revert the example to use thumbnail --- Examples/SDWebImage Demo/MasterViewController.m | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/Examples/SDWebImage Demo/MasterViewController.m b/Examples/SDWebImage Demo/MasterViewController.m index d05b3c6d..3a6c1780 100644 --- a/Examples/SDWebImage Demo/MasterViewController.m +++ b/Examples/SDWebImage Demo/MasterViewController.m @@ -115,8 +115,7 @@ cell.customTextLabel.text = [NSString stringWithFormat:@"Image #%ld", (long)indexPath.row]; [cell.customImageView sd_setImageWithURL:[NSURL URLWithString:self.objects[indexPath.row]] placeholderImage:placeholderImage - options:indexPath.row == 0 ? SDWebImageRefreshCached : 0 - context:@{SDWebImageContextImageThumbnailPixelSize : @(CGSizeMake(100, 100))}]; + options:indexPath.row == 0 ? SDWebImageRefreshCached : 0]; return cell; }