From 693cc103ea5e9fed3045d3d20778866a0041d944 Mon Sep 17 00:00:00 2001 From: AntsyLich <59261191+AntsyLich@users.noreply.github.com> Date: Sun, 12 Jun 2022 21:44:02 +0600 Subject: [PATCH] Add `date_upload` to `toDbChapter()` (#7297) --- app/src/main/java/eu/kanade/domain/chapter/model/Chapter.kt | 1 + 1 file changed, 1 insertion(+) diff --git a/app/src/main/java/eu/kanade/domain/chapter/model/Chapter.kt b/app/src/main/java/eu/kanade/domain/chapter/model/Chapter.kt index ce9005786e..6b8fc57cdf 100644 --- a/app/src/main/java/eu/kanade/domain/chapter/model/Chapter.kt +++ b/app/src/main/java/eu/kanade/domain/chapter/model/Chapter.kt @@ -71,6 +71,7 @@ fun Chapter.toDbChapter(): DbChapter = DbChapter.create().also { it.bookmark = bookmark it.last_page_read = lastPageRead.toInt() it.date_fetch = dateFetch + it.date_upload = dateUpload it.chapter_number = chapterNumber it.source_order = sourceOrder.toInt() }