diff --git a/app/src/main/java/io/legado/app/ui/book/read/page/provider/ChapterProvider.kt b/app/src/main/java/io/legado/app/ui/book/read/page/provider/ChapterProvider.kt index bdcb20df0..f946b998f 100644 --- a/app/src/main/java/io/legado/app/ui/book/read/page/provider/ChapterProvider.kt +++ b/app/src/main/java/io/legado/app/ui/book/read/page/provider/ChapterProvider.kt @@ -1,5 +1,6 @@ package io.legado.app.ui.book.read.page.provider +import android.annotation.SuppressLint import android.graphics.Paint import android.graphics.Typeface import android.net.Uri @@ -567,6 +568,7 @@ object ChapterProvider { upLayout() } + @SuppressLint("Recycle") private fun getTypeface(fontPath: String): Typeface { return kotlin.runCatching { when {