Skip to content

Commit d021dd2

Browse files
maickifacebook-github-bot
authored andcommitted
Fix typo in RCTSurfaceHostingView
Summary: Fix typo in RCTSurfaceHostingView (minumumSize -> minimumSize) Closes #17235 Differential Revision: D6585719 Pulled By: hramos fbshipit-source-id: bfb18015f48bc8ab161945d09125c27d29738ede
1 parent 8c8944c commit d021dd2

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

React/Base/Surface/SurfaceHostingView/RCTSurfaceHostingView.mm

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -84,26 +84,26 @@ - (CGSize)sizeThatFits:(CGSize)size
8484
return CGSizeZero;
8585
}
8686

87-
CGSize minumumSize = CGSizeZero;
87+
CGSize minimumSize = CGSizeZero;
8888
CGSize maximumSize = CGSizeMake(INFINITY, INFINITY);
8989

9090
if (_sizeMeasureMode & RCTSurfaceSizeMeasureModeWidthExact) {
91-
minumumSize.width = size.width;
91+
minimumSize.width = size.width;
9292
maximumSize.width = size.width;
9393
}
9494
else if (_sizeMeasureMode & RCTSurfaceSizeMeasureModeWidthAtMost) {
9595
maximumSize.width = size.width;
9696
}
9797

9898
if (_sizeMeasureMode & RCTSurfaceSizeMeasureModeHeightExact) {
99-
minumumSize.height = size.height;
99+
minimumSize.height = size.height;
100100
maximumSize.height = size.height;
101101
}
102102
else if (_sizeMeasureMode & RCTSurfaceSizeMeasureModeHeightAtMost) {
103103
maximumSize.height = size.height;
104104
}
105105

106-
return [_surface sizeThatFitsMinimumSize:minumumSize
106+
return [_surface sizeThatFitsMinimumSize:minimumSize
107107
maximumSize:maximumSize];
108108
}
109109

0 commit comments

Comments
 (0)