From 02aa6fbe1e3d4b0a19b4f8a0aad7321035b38719 Mon Sep 17 00:00:00 2001 From: gedoor Date: Sat, 1 Aug 2020 11:27:39 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96=E4=B9=A6=E7=AD=BE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../main/java/io/legado/app/ui/book/read/Help.kt | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) diff --git a/app/src/main/java/io/legado/app/ui/book/read/Help.kt b/app/src/main/java/io/legado/app/ui/book/read/Help.kt index aa2d82b55..1b4c23bee 100644 --- a/app/src/main/java/io/legado/app/ui/book/read/Help.kt +++ b/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) }