优化书签

pull/289/head
gedoor 4 years ago
parent 5bcd004c21
commit 02aa6fbe1e
  1. 13
      app/src/main/java/io/legado/app/ui/book/read/Help.kt

@ -167,13 +167,12 @@ object Help {
editText?.text?.toString()?.let { editContent ->
AsyncTask.execute {
val bookmark = Bookmark(
book.durChapterTime,
book.bookUrl,
book.name,
ReadBook.durChapterIndex,
ReadBook.durPageIndex,
textChapter.title,
editContent
bookUrl = book.bookUrl,
bookName = book.name,
chapterIndex = ReadBook.durChapterIndex,
pageIndex = ReadBook.durPageIndex,
chapterName = textChapter.title,
content = editContent
)
App.db.bookmarkDao().insert(bookmark)
}

Loading…
Cancel
Save