MangaPresenter: Don't update fav state when changing categories (#7594)
(cherry picked from commit 59f8c1a2880b1d35e870ea0bca2bc7a9cfc48592)
This commit is contained in:
parent
22b627ea8d
commit
1839eb13d9
@ -765,8 +765,10 @@ class MangaPresenter(
|
|||||||
|
|
||||||
fun moveMangaToCategoriesAndAddToLibrary(manga: DomainManga, categories: List<Category>) {
|
fun moveMangaToCategoriesAndAddToLibrary(manga: DomainManga, categories: List<Category>) {
|
||||||
moveMangaToCategories(categories)
|
moveMangaToCategories(categories)
|
||||||
presenterScope.launchIO {
|
if (!manga.favorite) {
|
||||||
updateManga.awaitUpdateFavorite(manga.id, true)
|
presenterScope.launchIO {
|
||||||
|
updateManga.awaitUpdateFavorite(manga.id, true)
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user