pull/1026/head
gedoor 4 years ago
parent b3c5bd9575
commit 0b97712880
  1. 4
      app/src/main/java/io/legado/app/data/entities/Book.kt

@ -114,7 +114,9 @@ data class Book(
fun getDisplayIntro() = if (customIntro.isNullOrEmpty()) intro else customIntro
//自定义简介有自动更新的需求时,可通过更新intro再调用upCustomIntro()完成
fun upCustomIntro() = customIntro = intro
fun upCustomIntro() {
customIntro = intro
}
fun fileCharset(): Charset {
return charset(charset ?: "UTF-8")

Loading…
Cancel
Save