mirror of
https://github.com/element-hq/element-android
synced 2024-12-23 01:31:24 +03:00
Use PrecomputedFutureTextSetterCompat
This commit is contained in:
parent
2262cd4b6d
commit
cf1a93839f
1 changed files with 2 additions and 1 deletions
|
@ -24,6 +24,7 @@ import im.vector.app.features.settings.VectorPreferences
|
|||
import io.noties.markwon.AbstractMarkwonPlugin
|
||||
import io.noties.markwon.Markwon
|
||||
import io.noties.markwon.MarkwonPlugin
|
||||
import io.noties.markwon.PrecomputedFutureTextSetterCompat
|
||||
import io.noties.markwon.ext.latex.JLatexMathPlugin
|
||||
import io.noties.markwon.ext.latex.JLatexMathTheme
|
||||
import io.noties.markwon.html.HtmlPlugin
|
||||
|
@ -61,7 +62,7 @@ class EventHtmlRenderer @Inject constructor(htmlConfigure: MatrixHtmlPluginConfi
|
|||
})
|
||||
} else {
|
||||
builder
|
||||
}.build()
|
||||
}.textSetter(PrecomputedFutureTextSetterCompat.create()).build()
|
||||
|
||||
val plugins: List<MarkwonPlugin> = markwon.plugins
|
||||
|
||||
|
|
Loading…
Reference in a new issue