mirror of
https://github.com/tachiyomiorg/tachiyomi.git
synced 2024-11-19 03:39:18 +01:00
Minor code cleanup
This commit is contained in:
parent
8d712c81d4
commit
853bf3065a
@ -379,11 +379,6 @@ open class BrowseCataloguePresenter(
|
|||||||
changeMangaFavorite(manga)
|
changeMangaFavorite(manga)
|
||||||
}
|
}
|
||||||
|
|
||||||
if (selectedCategories.isNotEmpty()) {
|
moveMangaToCategories(manga, selectedCategories)
|
||||||
moveMangaToCategories(manga, selectedCategories.filter { it.id != 0 })
|
|
||||||
} else {
|
|
||||||
// Default category
|
|
||||||
moveMangaToCategories(manga, emptyList())
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user