Fix Sync Favorites
This commit is contained in:
parent
a1a9b4b812
commit
5558790e15
@ -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
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user