mirror of
https://github.com/mihonapp/mihon.git
synced 2024-12-03 05:15:07 -05:00
fixed wrong mapping
This commit is contained in:
parent
8d99652e34
commit
c7fe69353b
2 changed files with 5 additions and 5 deletions
|
@ -27,8 +27,8 @@ object MangaMapper {
|
||||||
updateStrategy: UpdateStrategy,
|
updateStrategy: UpdateStrategy,
|
||||||
calculateInterval: Long,
|
calculateInterval: Long,
|
||||||
lastModifiedAt: Long,
|
lastModifiedAt: Long,
|
||||||
lastModifiedAtLocal: Long?,
|
|
||||||
favoriteModifiedAt: Long?,
|
favoriteModifiedAt: Long?,
|
||||||
|
lastModifiedAtLocal: Long?,
|
||||||
): Manga = Manga(
|
): Manga = Manga(
|
||||||
id = id,
|
id = id,
|
||||||
source = source,
|
source = source,
|
||||||
|
@ -51,8 +51,8 @@ object MangaMapper {
|
||||||
updateStrategy = updateStrategy,
|
updateStrategy = updateStrategy,
|
||||||
initialized = initialized,
|
initialized = initialized,
|
||||||
lastModifiedAt = lastModifiedAt,
|
lastModifiedAt = lastModifiedAt,
|
||||||
lastModifiedAtLocal = lastModifiedAtLocal,
|
|
||||||
favoriteModifiedAt = favoriteModifiedAt,
|
favoriteModifiedAt = favoriteModifiedAt,
|
||||||
|
lastModifiedAtLocal = lastModifiedAtLocal,
|
||||||
)
|
)
|
||||||
|
|
||||||
fun mapLibraryManga(
|
fun mapLibraryManga(
|
||||||
|
@ -77,8 +77,8 @@ object MangaMapper {
|
||||||
updateStrategy: UpdateStrategy,
|
updateStrategy: UpdateStrategy,
|
||||||
calculateInterval: Long,
|
calculateInterval: Long,
|
||||||
lastModifiedAt: Long,
|
lastModifiedAt: Long,
|
||||||
lastModifiedAtLocal: Long?,
|
|
||||||
favoriteModifiedAt: Long?,
|
favoriteModifiedAt: Long?,
|
||||||
|
lastModifiedAtLocal: Long?,
|
||||||
totalCount: Long,
|
totalCount: Long,
|
||||||
readCount: Double,
|
readCount: Double,
|
||||||
latestUpload: Long,
|
latestUpload: Long,
|
||||||
|
@ -109,8 +109,8 @@ object MangaMapper {
|
||||||
updateStrategy,
|
updateStrategy,
|
||||||
calculateInterval,
|
calculateInterval,
|
||||||
lastModifiedAt,
|
lastModifiedAt,
|
||||||
lastModifiedAtLocal,
|
|
||||||
favoriteModifiedAt,
|
favoriteModifiedAt,
|
||||||
|
lastModifiedAtLocal,
|
||||||
),
|
),
|
||||||
category = category,
|
category = category,
|
||||||
totalChapters = totalCount,
|
totalChapters = totalCount,
|
||||||
|
|
|
@ -105,8 +105,8 @@ class MangaRepositoryImpl(
|
||||||
chapterFlags = manga.chapterFlags,
|
chapterFlags = manga.chapterFlags,
|
||||||
coverLastModified = manga.coverLastModified,
|
coverLastModified = manga.coverLastModified,
|
||||||
dateAdded = manga.dateAdded,
|
dateAdded = manga.dateAdded,
|
||||||
lastModifiedAtLocal = manga.lastModifiedAtLocal,
|
|
||||||
updateStrategy = manga.updateStrategy,
|
updateStrategy = manga.updateStrategy,
|
||||||
|
lastModifiedAtLocal = manga.lastModifiedAtLocal,
|
||||||
)
|
)
|
||||||
mangasQueries.selectLastInsertedRowId()
|
mangasQueries.selectLastInsertedRowId()
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue