换源优化

pull/274/head
gedoor 4 years ago
parent 2ab5e8b6d4
commit 410c021c3f
  1. 2
      app/src/main/java/io/legado/app/data/entities/Book.kt

@ -139,6 +139,8 @@ data class Book(
newBook.group = group newBook.group = group
newBook.order = order newBook.order = order
newBook.customCoverUrl = customCoverUrl newBook.customCoverUrl = customCoverUrl
newBook.customIntro = customIntro
newBook.customTag = customTag
newBook.canUpdate = canUpdate newBook.canUpdate = canUpdate
App.db.bookDao().delete(this) App.db.bookDao().delete(this)
App.db.bookDao().insert(newBook) App.db.bookDao().insert(newBook)

Loading…
Cancel
Save