Skip to content

Commit 5c1062b

Browse files
Ritesh Shuklariteshshukla04
authored andcommitted
Fixed borderBottomEndRadius inconsistency on RTL
1 parent 32fafdf commit 5c1062b

File tree

1 file changed

+2
-2
lines changed
  • packages/react-native/ReactAndroid/src/main/java/com/facebook/react/uimanager/style

1 file changed

+2
-2
lines changed

packages/react-native/ReactAndroid/src/main/java/com/facebook/react/uimanager/style/BorderRadiusStyle.kt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -143,11 +143,11 @@ internal data class BorderRadiusStyle(
143143
CornerRadii(it, width, height)
144144
} ?: zeroRadii,
145145
bottomLeft =
146-
(endEnd ?: bottomStart ?: bottomRight ?: uniform)?.let {
146+
(endEnd ?: bottomEnd ?: bottomRight ?: uniform)?.let {
147147
CornerRadii(it, width, height)
148148
} ?: zeroRadii,
149149
bottomRight =
150-
(startEnd ?: bottomEnd ?: bottomLeft ?: uniform)?.let {
150+
(startEnd ?: bottomStart ?: bottomLeft ?: uniform)?.let {
151151
CornerRadii(it, width, height)
152152
} ?: zeroRadii,
153153
width = width,

0 commit comments

Comments
 (0)