mirror of
https://github.com/tachiyomiorg/tachiyomi.git
synced 2024-12-23 16:31:50 +01:00
Fixed collapsed category saying "category is empty"
This commit is contained in:
parent
950452579f
commit
3631489c56
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user