mirror of
https://github.com/Aviortheking/Neo-Store.git
synced 2025-06-19 05:49:18 +00:00
Fix: Showing extend button on shorter text blocks
This commit is contained in:
@ -58,7 +58,7 @@ fun HtmlTextBlock(
|
||||
overflow = TextOverflow.Ellipsis
|
||||
)
|
||||
}
|
||||
if (description.length >= 500) {
|
||||
if (description.length >= 290) {
|
||||
FilledTonalButton(onClick = { isExpanded = !isExpanded }) {
|
||||
Text(text = stringResource(id = if (isExpanded) R.string.show_less else R.string.show_more))
|
||||
}
|
||||
|
Reference in New Issue
Block a user