CategoryClient.kt: removed condition 'page.categoryInfo() == null' as it's always 'false'

This commit is contained in:
Junwei Bai 2024-10-18 00:55:32 +11:00
parent 0dc379acdf
commit 6b01afe442

View file

@ -124,7 +124,7 @@ class CategoryClient
}.map { }.map {
it it
.filter { page -> .filter { page ->
page.categoryInfo() == null || !page.categoryInfo().isHidden !page.categoryInfo().isHidden
}.map { }.map {
CategoryItem( CategoryItem(
it.title().replace(CATEGORY_PREFIX, ""), it.title().replace(CATEGORY_PREFIX, ""),