1
0
mirror of https://github.com/mihonapp/mihon.git synced 2025-04-05 03:55:40 +02:00

Minor code cleanup

This commit is contained in:
arkon 2020-03-03 19:40:57 -05:00
parent 8d712c81d4
commit 853bf3065a

@ -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)
}
}