mirror of
https://github.com/tachiyomiorg/tachiyomi.git
synced 2024-11-10 20:15:09 +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) {
|
if (showCategories) {
|
||||||
categories.forEach { category ->
|
categories.forEach { category ->
|
||||||
val catId = category.id ?: return@forEach
|
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]
|
val headerItem = headerItems[catId]
|
||||||
if (headerItem != null) items.add(
|
if (headerItem != null) items.add(
|
||||||
LibraryItem(LibraryManga.createBlank(catId), headerItem)
|
LibraryItem(LibraryManga.createBlank(catId), headerItem)
|
||||||
|
Loading…
Reference in New Issue
Block a user