mirror of
https://github.com/Aviortheking/Neo-Store.git
synced 2025-04-23 19:32:16 +00:00
Update: Show full text of inexpandable text blocks (closes #265)
This commit is contained in:
parent
4fa964418e
commit
7126feecf9
@ -46,7 +46,7 @@ fun HtmlTextBlock(
|
|||||||
color = Color.Transparent
|
color = Color.Transparent
|
||||||
) {
|
) {
|
||||||
val maxLines by animateIntAsState(
|
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)
|
animationSpec = tween(durationMillis = 200)
|
||||||
)
|
)
|
||||||
SelectionContainer {
|
SelectionContainer {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user