Revert D5197885 to unbreak Internal App

Reviewed By: shergin

Differential Revision: D5312189

fbshipit-source-id: 07f6944994068638703611db9522b1861f1688e2
This commit is contained in:
Mehdi Mulani 2017-06-23 13:03:07 -07:00 committed by Facebook Github Bot
parent 7516fa56d7
commit dbd7a4e3a1
1 changed files with 1 additions and 1 deletions

View File

@ -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];