Fix useless rich replies crash
Change-Id: I40103d9cb91365c421b411ce35a3b1e12f00ce00
This commit is contained in:
parent
0e2de3eadb
commit
32d076cbdf
|
@ -187,7 +187,7 @@ class InReplyToView @JvmOverloads constructor(
|
||||||
val bindingOptions: BindingOptions?
|
val bindingOptions: BindingOptions?
|
||||||
val text = if (formattedBody != null) {
|
val text = if (formattedBody != null) {
|
||||||
val compressed = retriever.htmlCompressor.compress(formattedBody)
|
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)
|
val renderedBody = retriever.textRenderer.render(renderedFormattedBody)
|
||||||
bindingOptions = retriever.spanUtils.getBindingOptions(renderedBody)
|
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
|
// To be re-enabled if we want clickable urls in reply previews, which would conflict with going to the original event on clicking
|
||||||
|
|
Loading…
Reference in New Issue