|
|
@ -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) |
|
|
|
} |
|
|
|
} |
|
|
|