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 16822c392..5db338534 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 @@ -128,7 +128,7 @@ object ChapterProvider { durY += titleBottomSpacing } contents.forEach { content -> - if (book.getImageStyle() == Book.imgStyleText) { + if (book.getImageStyle().equals(Book.imgStyleText, true)) { var text = content.replace(srcReplaceChar, "▣") val srcList = LinkedList() val sb = StringBuffer()