Optimize and cleanup library code (#2329)
This commit is contained in:
@@ -92,7 +92,7 @@ object MangaMapper {
|
||||
chapterFetchedAt: Long,
|
||||
lastRead: Long,
|
||||
bookmarkCount: Double,
|
||||
category: Long,
|
||||
categories: String,
|
||||
): LibraryManga = LibraryManga(
|
||||
manga = mapManga(
|
||||
id,
|
||||
@@ -121,7 +121,7 @@ object MangaMapper {
|
||||
isSyncing,
|
||||
notes,
|
||||
),
|
||||
category = category,
|
||||
categories = categories.split(",").map { it.toLong() },
|
||||
totalChapters = totalCount,
|
||||
readCount = readCount.toLong(),
|
||||
bookmarkCount = bookmarkCount.toLong(),
|
||||
|
||||
Reference in New Issue
Block a user