mirror of
https://github.com/mihonapp/mihon.git
synced 2024-12-26 19:08:25 +01:00
MangaPresenter: Don't update fav state when changing categories (#7594)
This commit is contained in:
parent
cd9487f94c
commit
59f8c1a288
@ -365,8 +365,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…
Reference in New Issue
Block a user