Cleanup data layer (#7450)

This commit is contained in:
Andreas
2022-07-03 21:48:13 +02:00
committed by GitHub
parent 68697e59d7
commit 069bd90c0f
5 changed files with 39 additions and 99 deletions

View File

@@ -86,15 +86,15 @@ abstract class AbstractBackupManager(protected val context: Context) {
genre = manga.getGenres(),
title = manga.title,
status = manga.status.toLong(),
thumbnail_url = manga.thumbnail_url,
thumbnailUrl = manga.thumbnail_url,
favorite = manga.favorite,
last_update = manga.last_update,
next_update = 0L,
lastUpdate = manga.last_update,
nextUpdate = 0L,
initialized = manga.initialized,
viewer = manga.viewer_flags.toLong(),
chapter_flags = manga.chapter_flags.toLong(),
cover_last_modified = manga.cover_last_modified,
date_added = manga.date_added,
viewerFlags = manga.viewer_flags.toLong(),
chapterFlags = manga.chapter_flags.toLong(),
coverLastModified = manga.cover_last_modified,
dateAdded = manga.date_added,
)
mangasQueries.selectLastInsertedRowId()
}