mirror of
https://github.com/element-hq/element-android
synced 2024-11-27 20:06:51 +03:00
Rename val
This commit is contained in:
parent
cd06ba656a
commit
fb736281f0
1 changed files with 2 additions and 2 deletions
|
@ -292,8 +292,8 @@ class SpaceListViewModel @AssistedInject constructor(@Assisted initialState: Spa
|
|||
.accountDataService()
|
||||
.getLiveRoomAccountDataEvents(setOf(RoomAccountDataTypes.EVENT_TYPE_SPACE_ORDER))
|
||||
.asFlow()
|
||||
) { _, communityGroups, _ ->
|
||||
communityGroups
|
||||
) { _, spaces, _ ->
|
||||
spaces
|
||||
}
|
||||
.execute { async ->
|
||||
val rootSpaces = async.invoke().orEmpty().filter { it.flattenParentIds.isEmpty() }
|
||||
|
|
Loading…
Reference in a new issue