diff --git a/core/ui-common/src/main/kotlin/com/wire/android/ui/common/TextWithLinkSuffix.kt b/core/ui-common/src/main/kotlin/com/wire/android/ui/common/TextWithLinkSuffix.kt index 1748bab0c87..114c64e2d97 100644 --- a/core/ui-common/src/main/kotlin/com/wire/android/ui/common/TextWithLinkSuffix.kt +++ b/core/ui-common/src/main/kotlin/com/wire/android/ui/common/TextWithLinkSuffix.kt @@ -152,7 +152,11 @@ private fun buildInlineText( Box( modifier = Modifier // It's only a placeholder as well, just to get the real size and position of the link. .size(linkSizeDp) - .onGloballyPositioned { it.parentLayoutCoordinates?.let { onLinkPositionCalculated(it.positionInParent()) } } + .onGloballyPositioned { + it.parentLayoutCoordinates?.let { + onLinkPositionCalculated(it.positionInParent()) + } + } ) } )