Holds the state of expanded text button between edits and translations.

This commit is contained in:
Vitor Pamplona
2024-03-06 14:25:19 -05:00
parent 5f76cdf721
commit 2038994613
20 changed files with 40 additions and 5 deletions
@@ -74,6 +74,7 @@ fun TranslatableRichTextViewer(
modifier: Modifier = Modifier,
tags: ImmutableListOfLists<String>,
backgroundColor: MutableState<Color>,
id: String,
accountViewModel: AccountViewModel,
nav: (String) -> Unit,
) {
@@ -98,6 +99,7 @@ fun TranslatableRichTextViewer(
modifier,
tags,
backgroundColor,
id,
accountViewModel,
nav,
)
@@ -112,6 +114,7 @@ private fun RenderText(
modifier: Modifier,
tags: ImmutableListOfLists<String>,
backgroundColor: MutableState<Color>,
id: String,
accountViewModel: AccountViewModel,
nav: (String) -> Unit,
) {
@@ -130,6 +133,7 @@ private fun RenderText(
modifier,
tags,
backgroundColor,
id,
accountViewModel,
nav,
)