2b79295240
This reverts commit 96c894ce5b3be545f3ea7df057d6dfed9fca3696.
22 lines
743 B
Kotlin
22 lines
743 B
Kotlin
package eu.kanade.data.chapter
|
|
|
|
import eu.kanade.domain.chapter.model.Chapter
|
|
|
|
val chapterMapper: (Long, Long, String, String, String?, Boolean, Boolean, Long, Float, Long, Long, Long) -> Chapter =
|
|
{ id, mangaId, url, name, scanlator, read, bookmark, lastPageRead, chapterNumber, sourceOrder, dateFetch, dateUpload ->
|
|
Chapter(
|
|
id = id,
|
|
mangaId = mangaId,
|
|
read = read,
|
|
bookmark = bookmark,
|
|
lastPageRead = lastPageRead,
|
|
dateFetch = dateFetch,
|
|
sourceOrder = sourceOrder,
|
|
url = url,
|
|
name = name,
|
|
dateUpload = dateUpload,
|
|
chapterNumber = chapterNumber,
|
|
scanlator = scanlator,
|
|
)
|
|
}
|