mirror of
https://github.com/commons-app/apps-android-commons.git
synced 2025-10-27 21:03:54 +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 {
|
}.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, ""),
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue