From bda79abad5731abf365f224f94e8d8d708c9a040 Mon Sep 17 00:00:00 2001 From: Marco Saia Date: Wed, 4 Sep 2024 15:32:25 +0200 Subject: [PATCH] Fixed RN 75 breaking change in Android SR --- .../sessionreplay/utils/ReactViewBackgroundDrawableUtils.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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,