优化书签

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 -> editText?.text?.toString()?.let { editContent ->
AsyncTask.execute { AsyncTask.execute {
val bookmark = Bookmark( val bookmark = Bookmark(
book.durChapterTime, bookUrl = book.bookUrl,
book.bookUrl, bookName = book.name,
book.name, chapterIndex = ReadBook.durChapterIndex,
ReadBook.durChapterIndex, pageIndex = ReadBook.durPageIndex,
ReadBook.durPageIndex, chapterName = textChapter.title,
textChapter.title, content = editContent
editContent
) )
App.db.bookmarkDao().insert(bookmark) App.db.bookmarkDao().insert(bookmark)
} }

Loading…
Cancel
Save