Improving performance of the RichText Viewer

This commit is contained in:
Vitor Pamplona
2023-05-07 16:12:28 -04:00
parent 936f750826
commit 13de5973ca
7 changed files with 330 additions and 193 deletions
@@ -73,8 +73,6 @@ fun TranslatableRichTextViewer(
showOriginal = preference == task.result.sourceLang
}
translatedTextState.value = task.result
} else {
translatedTextState.value = ResultOrError(content, null, null, null)
}
}
}