From dbd7a4e3a1cd5b6e259223fc6b1345340665e985 Mon Sep 17 00:00:00 2001 From: Mehdi Mulani Date: Fri, 23 Jun 2017 13:03:07 -0700 Subject: [PATCH] Revert D5197885 to unbreak Internal App Reviewed By: shergin Differential Revision: D5312189 fbshipit-source-id: 07f6944994068638703611db9522b1861f1688e2 --- React/Base/RCTImageSource.m | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/React/Base/RCTImageSource.m b/React/Base/RCTImageSource.m index a4f5861a9..b474d9b11 100644 --- a/React/Base/RCTImageSource.m +++ b/React/Base/RCTImageSource.m @@ -71,7 +71,7 @@ return nil; } size = [self CGSize:json]; - scale = [self CGFloat:json[@"scale"]] ?: 1.0; + scale = [self CGFloat:json[@"scale"]] ?: [self BOOL:json[@"deprecated"]] ? 0.0 : 1.0; packagerAsset = [self BOOL:json[@"__packager_asset"]]; } else if ([json isKindOfClass:[NSString class]]) { request = [self NSURLRequest:json];