Fixed typo in RCTSurfaceRootShadowView

Summary:
Trivial.
Special thanks to janicduplessis

Created from Diffusion's 'Open in Editor' feature.

Reviewed By: fkgozali

Differential Revision: D6863932

fbshipit-source-id: d40a30271adc5c8d47149ab920e2ac11158ab756
This commit is contained in:
Valentin Shergin 2018-01-31 15:03:25 -08:00 committed by Facebook Github Bot
parent a2f3ba864e
commit d74ff6fadd
1 changed files with 3 additions and 3 deletions

View File

@ -43,7 +43,7 @@
}
}
- (void)calculateLayoutWithMinimumSize:(CGSize)minimumSize maximumSize:(CGSize)maximimSize
- (void)calculateLayoutWithMinimumSize:(CGSize)minimumSize maximumSize:(CGSize)maximumSize
{
YGNodeRef yogaNode = self.yogaNode;
@ -52,8 +52,8 @@
YGNodeCalculateLayout(
self.yogaNode,
RCTYogaFloatFromCoreGraphicsFloat(maximimSize.width),
RCTYogaFloatFromCoreGraphicsFloat(maximimSize.height),
RCTYogaFloatFromCoreGraphicsFloat(maximumSize.width),
RCTYogaFloatFromCoreGraphicsFloat(maximumSize.height),
_baseDirection
);
}