feat: 优化代码

pull/115/head
kunfei 5 years ago
parent aafb0e13fa
commit a095b75d2d
  1. 4
      app/src/main/java/io/legado/app/help/BookHelp.kt

@ -268,7 +268,9 @@ object BookHelp {
} }
} }
} }
c = "$title\n$c" if (!c.startsWith(title)) {
c = "$title\n$c"
}
when (AppConfig.chineseConverterType) { when (AppConfig.chineseConverterType) {
1 -> c = ZhConvertBootstrap.newInstance().toSimple(c) 1 -> c = ZhConvertBootstrap.newInstance().toSimple(c)
2 -> c = ZhConvertBootstrap.newInstance().toTraditional(c) 2 -> c = ZhConvertBootstrap.newInstance().toTraditional(c)

Loading…
Cancel
Save