Fix Sync Favorites

This commit is contained in:
Jobobby04 2021-03-18 21:55:41 -04:00
parent a1a9b4b812
commit 5558790e15

View File

@ -127,7 +127,7 @@ class GalleryAdder {
// Insert created manga if not in DB before fetching details // Insert created manga if not in DB before fetching details
// This allows us to keep the metadata when fetching details // This allows us to keep the metadata when fetching details
if (manga.id == null) { if (manga.id == null) {
db.insertManga(manga).executeOnIO().insertedId()?.let { db.insertManga(manga).executeAsBlocking().insertedId()?.let {
manga.id = it manga.id = it
} }
} }