Rename val

This commit is contained in:
Benoit Marty 2022-04-25 17:49:50 +02:00
parent cd06ba656a
commit fb736281f0
1 changed files with 2 additions and 2 deletions

View File

@ -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() }