From 4709774dc23d5f7e58a1108df4d490a708a6a8b8 Mon Sep 17 00:00:00 2001 From: Ortwin Gentz Date: Mon, 25 Apr 2016 16:16:00 +0200 Subject: [PATCH] Revert dcde40fc01d2815070a2b4b496234aeb1b6d038e fixes #1437 --- SDWebImage/SDWebImageCompat.m | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/SDWebImage/SDWebImageCompat.m b/SDWebImage/SDWebImageCompat.m index 9a011bc0..57d94135 100644 --- a/SDWebImage/SDWebImageCompat.m +++ b/SDWebImage/SDWebImageCompat.m @@ -28,7 +28,7 @@ inline UIImage *SDScaledImageForKey(NSString *key, UIImage *image) { } else { if ([[UIScreen mainScreen] respondsToSelector:@selector(scale)]) { - CGFloat scale = [UIScreen mainScreen].scale; + CGFloat scale = 1; if (key.length >= 8) { NSRange range = [key rangeOfString:@"@2x."]; if (range.location != NSNotFound) {