Fixed collapsed category saying "category is empty"
This commit is contained in:
parent
950452579f
commit
3631489c56
1 changed files with 1 additions and 1 deletions
|
@ -427,7 +427,7 @@ class LibraryPresenter(
|
|||
if (showCategories) {
|
||||
categories.forEach { category ->
|
||||
val catId = category.id ?: return@forEach
|
||||
if (catId > 0 && !categorySet.contains(catId)) {
|
||||
if (catId > 0 && !categorySet.contains(catId) && catId !in categoriesHidden) {
|
||||
val headerItem = headerItems[catId]
|
||||
if (headerItem != null) items.add(
|
||||
LibraryItem(LibraryManga.createBlank(catId), headerItem)
|
||||
|
|
Reference in a new issue