Initialize manga when importing them
This commit is contained in:
parent
65abb8fa6c
commit
5e13df9bd8
@ -167,6 +167,7 @@ class GalleryAdder {
|
|||||||
val newManga = sourceObj.fetchMangaDetails(manga).toBlocking().first()
|
val newManga = sourceObj.fetchMangaDetails(manga).toBlocking().first()
|
||||||
manga.copyFrom(newManga)
|
manga.copyFrom(newManga)
|
||||||
manga.title = newManga.title //Forcibly copy title as copyFrom does not copy title
|
manga.title = newManga.title //Forcibly copy title as copyFrom does not copy title
|
||||||
|
manga.initialized = true
|
||||||
|
|
||||||
if (fav) manga.favorite = true
|
if (fav) manga.favorite = true
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user