Initialize manga when importing them

This commit is contained in:
NerdNumber9 2019-04-14 09:30:48 -04:00
parent 65abb8fa6c
commit 5e13df9bd8

View File

@ -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