From 853bf3065a955a03433603a4460e2c137fea86bc Mon Sep 17 00:00:00 2001 From: arkon Date: Tue, 3 Mar 2020 19:40:57 -0500 Subject: [PATCH] Minor code cleanup --- .../ui/catalogue/browse/BrowseCataloguePresenter.kt | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/app/src/main/java/eu/kanade/tachiyomi/ui/catalogue/browse/BrowseCataloguePresenter.kt b/app/src/main/java/eu/kanade/tachiyomi/ui/catalogue/browse/BrowseCataloguePresenter.kt index 48416bad9..f34c70424 100644 --- a/app/src/main/java/eu/kanade/tachiyomi/ui/catalogue/browse/BrowseCataloguePresenter.kt +++ b/app/src/main/java/eu/kanade/tachiyomi/ui/catalogue/browse/BrowseCataloguePresenter.kt @@ -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) } }