mirror of
				https://github.com/mihonapp/mihon.git
				synced 2025-11-04 08:08:55 +01:00 
			
		
		
		
	MangaPresenter: Don't update fav state when changing categories (#7594)
This commit is contained in:
		@@ -365,8 +365,10 @@ class MangaPresenter(
 | 
			
		||||
 | 
			
		||||
    fun moveMangaToCategoriesAndAddToLibrary(manga: DomainManga, categories: List<Category>) {
 | 
			
		||||
        moveMangaToCategories(categories)
 | 
			
		||||
        presenterScope.launchIO {
 | 
			
		||||
            updateManga.awaitUpdateFavorite(manga.id, true)
 | 
			
		||||
        if (!manga.favorite) {
 | 
			
		||||
            presenterScope.launchIO {
 | 
			
		||||
                updateManga.awaitUpdateFavorite(manga.id, true)
 | 
			
		||||
            }
 | 
			
		||||
        }
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user