Revert D5197885 to unbreak Internal App
Reviewed By: shergin Differential Revision: D5312189 fbshipit-source-id: 07f6944994068638703611db9522b1861f1688e2
This commit is contained in:
parent
7516fa56d7
commit
dbd7a4e3a1
|
@ -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];
|
||||
|
|
Loading…
Reference in New Issue