diff --git a/packages/react-native-session-replay/android/src/main/kotlin/com/datadog/reactnative/sessionreplay/utils/ReactViewBackgroundDrawableUtils.kt b/packages/react-native-session-replay/android/src/main/kotlin/com/datadog/reactnative/sessionreplay/utils/ReactViewBackgroundDrawableUtils.kt index fabacf4ba..a86d3d598 100644 --- a/packages/react-native-session-replay/android/src/main/kotlin/com/datadog/reactnative/sessionreplay/utils/ReactViewBackgroundDrawableUtils.kt +++ b/packages/react-native-session-replay/android/src/main/kotlin/com/datadog/reactnative/sessionreplay/utils/ReactViewBackgroundDrawableUtils.kt @@ -28,7 +28,7 @@ internal class ReactViewBackgroundDrawableUtils( } val cornerRadius = - drawable.fullBorderRadius.toLong().convertToDensityNormalized(pixelDensity) + drawable.fullBorderWidth.toLong().convertToDensityNormalized(pixelDensity) return MobileSegment.ShapeStyle( colorHexString,