Skip to content

Commit

Permalink
[iOS] FIxes CornerRadiiAreEqualAndSymmetrical error when check topLef…
Browse files Browse the repository at this point in the history
…tHorizontal == topLeftVertical
  • Loading branch information
zhongwuzw committed Oct 31, 2024
1 parent 4076dbf commit 55b6a8b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/react-native/React/Views/RCTBorderDrawing.m
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ BOOL RCTBorderInsetsAreEqual(UIEdgeInsets borderInsets)

BOOL RCTCornerRadiiAreEqualAndSymmetrical(RCTCornerRadii cornerRadii)
{
return cornerRadii.topLeftHorizontal == cornerRadii.topLeftHorizontal &&
return cornerRadii.topLeftHorizontal == cornerRadii.topLeftVertical &&
cornerRadii.topRightHorizontal == cornerRadii.topRightVertical &&
cornerRadii.bottomLeftHorizontal == cornerRadii.bottomLeftVertical &&
cornerRadii.bottomRightHorizontal == cornerRadii.bottomRightVertical &&
Expand Down

0 comments on commit 55b6a8b

Please sign in to comment.