diff --git a/data/src/main/java/tachiyomi/data/manga/MangaMapper.kt b/data/src/main/java/tachiyomi/data/manga/MangaMapper.kt index 1940be6b5..d41a07d38 100644 --- a/data/src/main/java/tachiyomi/data/manga/MangaMapper.kt +++ b/data/src/main/java/tachiyomi/data/manga/MangaMapper.kt @@ -27,8 +27,8 @@ object MangaMapper { updateStrategy: UpdateStrategy, calculateInterval: Long, lastModifiedAt: Long, - lastModifiedAtLocal: Long?, favoriteModifiedAt: Long?, + lastModifiedAtLocal: Long?, ): Manga = Manga( id = id, source = source, @@ -51,8 +51,8 @@ object MangaMapper { updateStrategy = updateStrategy, initialized = initialized, lastModifiedAt = lastModifiedAt, - lastModifiedAtLocal = lastModifiedAtLocal, favoriteModifiedAt = favoriteModifiedAt, + lastModifiedAtLocal = lastModifiedAtLocal, ) fun mapLibraryManga( @@ -77,8 +77,8 @@ object MangaMapper { updateStrategy: UpdateStrategy, calculateInterval: Long, lastModifiedAt: Long, - lastModifiedAtLocal: Long?, favoriteModifiedAt: Long?, + lastModifiedAtLocal: Long?, totalCount: Long, readCount: Double, latestUpload: Long, @@ -109,8 +109,8 @@ object MangaMapper { updateStrategy, calculateInterval, lastModifiedAt, - lastModifiedAtLocal, favoriteModifiedAt, + lastModifiedAtLocal, ), category = category, totalChapters = totalCount, diff --git a/data/src/main/java/tachiyomi/data/manga/MangaRepositoryImpl.kt b/data/src/main/java/tachiyomi/data/manga/MangaRepositoryImpl.kt index ef424ad54..0a34e465f 100644 --- a/data/src/main/java/tachiyomi/data/manga/MangaRepositoryImpl.kt +++ b/data/src/main/java/tachiyomi/data/manga/MangaRepositoryImpl.kt @@ -105,8 +105,8 @@ class MangaRepositoryImpl( chapterFlags = manga.chapterFlags, coverLastModified = manga.coverLastModified, dateAdded = manga.dateAdded, - lastModifiedAtLocal = manga.lastModifiedAtLocal, updateStrategy = manga.updateStrategy, + lastModifiedAtLocal = manga.lastModifiedAtLocal, ) mangasQueries.selectLastInsertedRowId() }