diff --git a/src/main/kotlin/com/machiav3lli/fdroid/ui/compose/pages/app_detail/components/TextBlock.kt b/src/main/kotlin/com/machiav3lli/fdroid/ui/compose/pages/app_detail/components/TextBlock.kt index 6c2ffd79..f116a2f3 100644 --- a/src/main/kotlin/com/machiav3lli/fdroid/ui/compose/pages/app_detail/components/TextBlock.kt +++ b/src/main/kotlin/com/machiav3lli/fdroid/ui/compose/pages/app_detail/components/TextBlock.kt @@ -46,7 +46,7 @@ fun HtmlTextBlock( color = Color.Transparent ) { val maxLines by animateIntAsState( - targetValue = if (isExpanded) Int.MAX_VALUE else 12, + targetValue = if (isExpanded || !isExpandable) Int.MAX_VALUE else 12, animationSpec = tween(durationMillis = 200) ) SelectionContainer {