feat: 优化代码

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

@ -268,7 +268,9 @@ object BookHelp {
} }
} }
} }
if (!c.startsWith(title)) {
c = "$title\n$c" 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