|
@@ -22,6 +22,7 @@ import eu.kanade.tachiyomi.data.database.tables.MangaTable.COL_GENRE
|
|
import eu.kanade.tachiyomi.data.database.tables.MangaTable.COL_ID
|
|
import eu.kanade.tachiyomi.data.database.tables.MangaTable.COL_ID
|
|
import eu.kanade.tachiyomi.data.database.tables.MangaTable.COL_INITIALIZED
|
|
import eu.kanade.tachiyomi.data.database.tables.MangaTable.COL_INITIALIZED
|
|
import eu.kanade.tachiyomi.data.database.tables.MangaTable.COL_LAST_UPDATE
|
|
import eu.kanade.tachiyomi.data.database.tables.MangaTable.COL_LAST_UPDATE
|
|
|
|
+import eu.kanade.tachiyomi.data.database.tables.MangaTable.COL_NEXT_UPDATE
|
|
import eu.kanade.tachiyomi.data.database.tables.MangaTable.COL_SOURCE
|
|
import eu.kanade.tachiyomi.data.database.tables.MangaTable.COL_SOURCE
|
|
import eu.kanade.tachiyomi.data.database.tables.MangaTable.COL_STATUS
|
|
import eu.kanade.tachiyomi.data.database.tables.MangaTable.COL_STATUS
|
|
import eu.kanade.tachiyomi.data.database.tables.MangaTable.COL_THUMBNAIL_URL
|
|
import eu.kanade.tachiyomi.data.database.tables.MangaTable.COL_THUMBNAIL_URL
|
|
@@ -62,6 +63,7 @@ class MangaPutResolver : DefaultPutResolver<Manga>() {
|
|
COL_THUMBNAIL_URL to obj.thumbnail_url,
|
|
COL_THUMBNAIL_URL to obj.thumbnail_url,
|
|
COL_FAVORITE to obj.favorite,
|
|
COL_FAVORITE to obj.favorite,
|
|
COL_LAST_UPDATE to obj.last_update,
|
|
COL_LAST_UPDATE to obj.last_update,
|
|
|
|
+ COL_NEXT_UPDATE to obj.next_update,
|
|
COL_INITIALIZED to obj.initialized,
|
|
COL_INITIALIZED to obj.initialized,
|
|
COL_VIEWER to obj.viewer_flags,
|
|
COL_VIEWER to obj.viewer_flags,
|
|
COL_CHAPTER_FLAGS to obj.chapter_flags,
|
|
COL_CHAPTER_FLAGS to obj.chapter_flags,
|
|
@@ -84,6 +86,7 @@ interface BaseMangaGetResolver {
|
|
thumbnail_url = cursor.getString(cursor.getColumnIndex(COL_THUMBNAIL_URL))
|
|
thumbnail_url = cursor.getString(cursor.getColumnIndex(COL_THUMBNAIL_URL))
|
|
favorite = cursor.getInt(cursor.getColumnIndex(COL_FAVORITE)) == 1
|
|
favorite = cursor.getInt(cursor.getColumnIndex(COL_FAVORITE)) == 1
|
|
last_update = cursor.getLong(cursor.getColumnIndex(COL_LAST_UPDATE))
|
|
last_update = cursor.getLong(cursor.getColumnIndex(COL_LAST_UPDATE))
|
|
|
|
+ next_update = cursor.getLong(cursor.getColumnIndex(COL_NEXT_UPDATE))
|
|
initialized = cursor.getInt(cursor.getColumnIndex(COL_INITIALIZED)) == 1
|
|
initialized = cursor.getInt(cursor.getColumnIndex(COL_INITIALIZED)) == 1
|
|
viewer_flags = cursor.getInt(cursor.getColumnIndex(COL_VIEWER))
|
|
viewer_flags = cursor.getInt(cursor.getColumnIndex(COL_VIEWER))
|
|
chapter_flags = cursor.getInt(cursor.getColumnIndex(COL_CHAPTER_FLAGS))
|
|
chapter_flags = cursor.getInt(cursor.getColumnIndex(COL_CHAPTER_FLAGS))
|