From a1991f21a2b40d07cac43c3b264b151cab60efde Mon Sep 17 00:00:00 2001 From: Xwite <1797350009@qq.com> Date: Tue, 31 May 2022 11:08:48 +0800 Subject: [PATCH] fix(book/searchContent): search nothing if chineseConvert enabled --- .../legado/app/ui/book/searchContent/SearchContentViewModel.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/src/main/java/io/legado/app/ui/book/searchContent/SearchContentViewModel.kt b/app/src/main/java/io/legado/app/ui/book/searchContent/SearchContentViewModel.kt index 9eb680591..dd6914ddc 100644 --- a/app/src/main/java/io/legado/app/ui/book/searchContent/SearchContentViewModel.kt +++ b/app/src/main/java/io/legado/app/ui/book/searchContent/SearchContentViewModel.kt @@ -50,7 +50,7 @@ class SearchContentViewModel(application: Application) : BaseViewModel(applicati } mContent = contentProcessor!!.getContent( book, chapter, chapterContent, - chineseConvert = false, + chineseConvert = true, reSegment = false, useReplace = false ).joinToString("")