fixes #1437
This commit is contained in:
Ortwin Gentz 2016-04-25 16:16:00 +02:00
parent 0979d5b5f7
commit 4709774dc2
1 changed files with 1 additions and 1 deletions

View File

@ -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) {