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() .accountDataService()
.getLiveRoomAccountDataEvents(setOf(RoomAccountDataTypes.EVENT_TYPE_SPACE_ORDER)) .getLiveRoomAccountDataEvents(setOf(RoomAccountDataTypes.EVENT_TYPE_SPACE_ORDER))
.asFlow() .asFlow()
) { _, communityGroups, _ -> ) { _, spaces, _ ->
communityGroups spaces
} }
.execute { async -> .execute { async ->
val rootSpaces = async.invoke().orEmpty().filter { it.flattenParentIds.isEmpty() } val rootSpaces = async.invoke().orEmpty().filter { it.flattenParentIds.isEmpty() }