Minor cleanup
This commit is contained in:
parent
2ac4966c5d
commit
56219fcd1f
@ -80,7 +80,7 @@ val libraryManga: (Long, Long, String, String?, String?, String?, List<String>?,
|
|||||||
|
|
||||||
val libraryViewMapper: (LibraryView) -> LibraryManga = {
|
val libraryViewMapper: (LibraryView) -> LibraryManga = {
|
||||||
LibraryManga(
|
LibraryManga(
|
||||||
Manga(
|
manga = Manga(
|
||||||
id = it._id,
|
id = it._id,
|
||||||
source = it.source,
|
source = it.source,
|
||||||
favorite = it.favorite,
|
favorite = it.favorite,
|
||||||
@ -105,12 +105,12 @@ val libraryViewMapper: (LibraryView) -> LibraryManga = {
|
|||||||
lastModifiedAt = it.last_modified_at,
|
lastModifiedAt = it.last_modified_at,
|
||||||
favoriteModifiedAt = it.favorite_modified_at,
|
favoriteModifiedAt = it.favorite_modified_at,
|
||||||
),
|
),
|
||||||
it.category,
|
category = it.category,
|
||||||
it.totalCount,
|
totalChapters = it.totalCount,
|
||||||
it.readCount,
|
readCount = it.readCount,
|
||||||
it.bookmarkCount,
|
bookmarkCount = it.bookmarkCount,
|
||||||
it.latestUpload,
|
latestUpload = it.latestUpload,
|
||||||
it.chapterFetchedAt,
|
chapterFetchedAt = it.chapterFetchedAt,
|
||||||
it.lastRead,
|
lastRead = it.lastRead,
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user