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,10 +765,12 @@ class MangaPresenter(
|
||||
|
||||
fun moveMangaToCategoriesAndAddToLibrary(manga: DomainManga, categories: List<Category>) {
|
||||
moveMangaToCategories(categories)
|
||||
if (!manga.favorite) {
|
||||
presenterScope.launchIO {
|
||||
updateManga.awaitUpdateFavorite(manga.id, true)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Move the given manga to categories.
|
||||
|
Loading…
x
Reference in New Issue
Block a user