From 5fba82deffde731176e3e118193c212f5d2c2bca Mon Sep 17 00:00:00 2001 From: Valentin Shergin Date: Tue, 30 Jan 2018 14:26:25 -0800 Subject: [PATCH] Fixing clowntown in RCTSurfaceRootShadowView Summary: Obvious. Reviewed By: mmmulani Differential Revision: D6829844 fbshipit-source-id: 6c49be990fbcc3be2b5595866c3d1fd42a3eb3e9 --- React/Base/Surface/RCTSurfaceRootShadowView.m | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/React/Base/Surface/RCTSurfaceRootShadowView.m b/React/Base/Surface/RCTSurfaceRootShadowView.m index 2c762fa658c097..bbd2b146a816fb 100644 --- a/React/Base/Surface/RCTSurfaceRootShadowView.m +++ b/React/Base/Surface/RCTSurfaceRootShadowView.m @@ -47,8 +47,8 @@ - (void)calculateLayoutWithMinimumSize:(CGSize)minimumSize maximumSize:(CGSize)m { YGNodeRef yogaNode = self.yogaNode; - YGNodeStyleSetMinWidth(yogaNode, RCTYogaFloatFromCoreGraphicsFloat(maximimSize.width)); - YGNodeStyleSetMinHeight(yogaNode, RCTYogaFloatFromCoreGraphicsFloat(maximimSize.height)); + YGNodeStyleSetMinWidth(yogaNode, RCTYogaFloatFromCoreGraphicsFloat(minimumSize.width)); + YGNodeStyleSetMinHeight(yogaNode, RCTYogaFloatFromCoreGraphicsFloat(minimumSize.height)); YGNodeCalculateLayout( self.yogaNode,