Rename val
This commit is contained in:
parent
cd06ba656a
commit
fb736281f0
|
@ -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() }
|
||||||
|
|
Loading…
Reference in New Issue