mirror of
https://github.com/mihonapp/mihon.git
synced 2025-06-27 03:27:51 +02:00
Initialize manga when importing them
This commit is contained in:
@ -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
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user