mirror of
https://github.com/commons-app/apps-android-commons.git
synced 2025-10-27 12:53:55 +01:00
CategoryClient.kt: removed condition 'page.categoryInfo() == null' as it's always 'false'
This commit is contained in:
parent
0dc379acdf
commit
6b01afe442
1 changed files with 1 additions and 1 deletions
|
|
@ -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, ""),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue