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 {
it
.filter { page ->
page.categoryInfo() == null || !page.categoryInfo().isHidden
!page.categoryInfo().isHidden
}.map {
CategoryItem(
it.title().replace(CATEGORY_PREFIX, ""),