Minor code cleanup
This commit is contained in:
parent
8d712c81d4
commit
853bf3065a
1 changed files with 1 additions and 6 deletions
|
@ -379,11 +379,6 @@ open class BrowseCataloguePresenter(
|
|||
changeMangaFavorite(manga)
|
||||
}
|
||||
|
||||
if (selectedCategories.isNotEmpty()) {
|
||||
moveMangaToCategories(manga, selectedCategories.filter { it.id != 0 })
|
||||
} else {
|
||||
// Default category
|
||||
moveMangaToCategories(manga, emptyList())
|
||||
}
|
||||
moveMangaToCategories(manga, selectedCategories)
|
||||
}
|
||||
}
|
||||
|
|
Reference in a new issue