mirror of
https://github.com/SchildiChat/SchildiChat-android.git
synced 2025-02-17 04:20:00 +03:00
Fix useless rich replies crash
Change-Id: I40103d9cb91365c421b411ce35a3b1e12f00ce00
This commit is contained in:
parent
0e2de3eadb
commit
32d076cbdf
1 changed files with 1 additions and 1 deletions
|
@ -187,7 +187,7 @@ class InReplyToView @JvmOverloads constructor(
|
|||
val bindingOptions: BindingOptions?
|
||||
val text = if (formattedBody != null) {
|
||||
val compressed = retriever.htmlCompressor.compress(formattedBody)
|
||||
val renderedFormattedBody = retriever.htmlRenderer.render(compressed, retriever.pillsPostProcessor) as Spanned
|
||||
val renderedFormattedBody = retriever.htmlRenderer.render(compressed, retriever.pillsPostProcessor)
|
||||
val renderedBody = retriever.textRenderer.render(renderedFormattedBody)
|
||||
bindingOptions = retriever.spanUtils.getBindingOptions(renderedBody)
|
||||
// To be re-enabled if we want clickable urls in reply previews, which would conflict with going to the original event on clicking
|
||||
|
|
Loading…
Add table
Reference in a new issue