mirror of
https://github.com/SchildiChat/SchildiChat-android.git
synced 2024-11-27 03:49:04 +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()
|
.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 a new issue