For #21776 - Call chain on collection type may be simplified
This commit is contained in:
parent
100547130e
commit
44666ca2ca
|
@ -86,7 +86,7 @@ internal fun getFilteredStoriesCount(
|
|||
}
|
||||
}
|
||||
false -> {
|
||||
return selectedCategories.map { it.name to it.stories.size }.toMap()
|
||||
return selectedCategories.associate { it.name to it.stories.size }
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user