Skip to content

Commit

Permalink
Fixed typo in RCTSurfaceRootShadowView
Browse files Browse the repository at this point in the history
Summary:
Trivial.
Special thanks to janicduplessis

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

Reviewed By: fkgozali

Differential Revision: D6863932

fbshipit-source-id: d40a30271adc5c8d47149ab920e2ac11158ab756
  • Loading branch information
shergin authored and facebook-github-bot committed Jan 31, 2018
1 parent a2f3ba8 commit d74ff6f
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions React/Base/Surface/RCTSurfaceRootShadowView.m
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ - (void)insertReactSubview:(RCTShadowView *)subview atIndex:(NSInteger)atIndex
}
}

- (void)calculateLayoutWithMinimumSize:(CGSize)minimumSize maximumSize:(CGSize)maximimSize
- (void)calculateLayoutWithMinimumSize:(CGSize)minimumSize maximumSize:(CGSize)maximumSize
{
YGNodeRef yogaNode = self.yogaNode;

Expand All @@ -52,8 +52,8 @@ - (void)calculateLayoutWithMinimumSize:(CGSize)minimumSize maximumSize:(CGSize)m

YGNodeCalculateLayout(
self.yogaNode,
RCTYogaFloatFromCoreGraphicsFloat(maximimSize.width),
RCTYogaFloatFromCoreGraphicsFloat(maximimSize.height),
RCTYogaFloatFromCoreGraphicsFloat(maximumSize.width),
RCTYogaFloatFromCoreGraphicsFloat(maximumSize.height),
_baseDirection
);
}
Expand Down

0 comments on commit d74ff6f

Please sign in to comment.