From f6c06c193f09e9e87cd007cb3d7b2b1aadbb8dcb Mon Sep 17 00:00:00 2001 From: kunfei Date: Tue, 29 Nov 2022 19:20:26 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../io/legado/app/ui/book/read/page/provider/ChapterProvider.kt | 2 ++ 1 file changed, 2 insertions(+) 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 {