Skip to content

Commit af384a9

Browse files
zhongwuzwfacebook-github-bot
authored andcommitted
FIxes CornerRadiiAreEqualAndSymmetrical error when check topLeftHorizontal == topLeftVertical (facebook#47338)
Summary: FIxes CornerRadiiAreEqualAndSymmetrical error when check topLeftHorizontal == topLeftVertical cc. jorge-cab ## Changelog: [IOS] [FIXED] - FIxes CornerRadiiAreEqualAndSymmetrical error when check topLeftHorizontal == topLeftVertical Pull Request resolved: facebook#47338 Test Plan: N/A Reviewed By: jorge-cab Differential Revision: D65281958 Pulled By: cipolleschi fbshipit-source-id: f79fced7282bf75201d9dc99c82eeaddade0d314
1 parent 566d30f commit af384a9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/react-native/React/Views/RCTBorderDrawing.m

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ BOOL RCTBorderInsetsAreEqual(UIEdgeInsets borderInsets)
1919

2020
BOOL RCTCornerRadiiAreEqualAndSymmetrical(RCTCornerRadii cornerRadii)
2121
{
22-
return cornerRadii.topLeftHorizontal == cornerRadii.topLeftHorizontal &&
22+
return cornerRadii.topLeftHorizontal == cornerRadii.topLeftVertical &&
2323
cornerRadii.topRightHorizontal == cornerRadii.topRightVertical &&
2424
cornerRadii.bottomLeftHorizontal == cornerRadii.bottomLeftVertical &&
2525
cornerRadii.bottomRightHorizontal == cornerRadii.bottomRightVertical &&

0 commit comments

Comments
 (0)