Merge pull request #1540 from futuretap/fix-1437

Fixed changed image size (#1437)
This commit is contained in:
Konstantinos K 2016-04-25 20:31:18 +03:00
commit 29c9c5d68a
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) {