pull/457/head
gedoor 4 years ago
parent 769da54d1d
commit 199df056d9
  1. 6
      app/src/main/java/io/legado/app/help/BookHelp.kt

@ -324,9 +324,6 @@ object BookHelp {
): List<String> { ): List<String> {
var title1 = title var title1 = title
var content1 = content var content1 = content
if (book.getReSegment()) {
content1 = ContentHelp.reSegment(content1, title1)
}
if (book.getUseReplaceRule()) { if (book.getUseReplaceRule()) {
synchronized(this) { synchronized(this) {
if (bookName != book.name || bookOrigin != book.origin) { if (bookName != book.name || bookOrigin != book.origin) {
@ -357,6 +354,9 @@ object BookHelp {
} }
} }
} }
if (book.getReSegment()) {
content1 = ContentHelp.reSegment(content1, title1)
}
try { try {
when (AppConfig.chineseConverterType) { when (AppConfig.chineseConverterType) {
1 -> { 1 -> {

Loading…
Cancel
Save