Minor cleanup

This commit is contained in:
Jobobby04 2023-07-21 22:24:13 -04:00
parent 2ac4966c5d
commit 56219fcd1f

View File

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