pull/32/head
kunfei 5 years ago
parent bf79cf6289
commit a399a32b3a
  1. 19
      app/src/main/java/io/legado/app/help/BookHelp.kt

@ -1,7 +1,26 @@
package io.legado.app.help package io.legado.app.help
import io.legado.app.data.entities.Book
import io.legado.app.data.entities.BookChapter
object BookHelp { object BookHelp {
fun saveContent(book: Book, bookChapter: BookChapter, content: String) {
}
fun hasContent(book: Book, bookChapter: BookChapter): Boolean {
return false
}
fun getContent(book: Book, bookChapter: BookChapter): String? {
return null
}
fun formatAuthor(author: String?): String { fun formatAuthor(author: String?): String {
return author return author
?.replace("\\s*者[\\s::]*".toRegex(), "") ?.replace("\\s*者[\\s::]*".toRegex(), "")

Loading…
Cancel
Save