Skip to content

Commit 0847ff1

Browse files
committed
Use PrecomputedFutureTextSetterCompat
1 parent 35754b1 commit 0847ff1

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

vector/build.gradle

+1-1
Original file line numberDiff line numberDiff line change
@@ -316,7 +316,7 @@ dependencies {
316316
def epoxy_version = '4.6.2'
317317
def fragment_version = '1.3.6'
318318
def arrow_version = "0.8.2"
319-
def markwon_version = '4.3.0'
319+
def markwon_version = '4.3.1'
320320
def big_image_viewer_version = '1.8.1'
321321
def glide_version = '4.12.0'
322322
def moshi_version = '1.12.0'

vector/src/main/java/im/vector/app/features/html/EventHtmlRenderer.kt

+2-1
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@ import im.vector.app.features.settings.VectorPreferences
2424
import io.noties.markwon.AbstractMarkwonPlugin
2525
import io.noties.markwon.Markwon
2626
import io.noties.markwon.MarkwonPlugin
27+
import io.noties.markwon.PrecomputedFutureTextSetterCompat
2728
import io.noties.markwon.ext.latex.JLatexMathPlugin
2829
import io.noties.markwon.ext.latex.JLatexMathTheme
2930
import io.noties.markwon.html.HtmlPlugin
@@ -61,7 +62,7 @@ class EventHtmlRenderer @Inject constructor(htmlConfigure: MatrixHtmlPluginConfi
6162
})
6263
} else {
6364
builder
64-
}.build()
65+
}.textSetter(PrecomputedFutureTextSetterCompat.create()).build()
6566

6667
val plugins: List<MarkwonPlugin> = markwon.plugins
6768

0 commit comments

Comments
 (0)