forked from GitHub-Mirror/riotX-android
better code
This commit is contained in:
parent
43521c6e09
commit
9061d5c972
@ -41,7 +41,7 @@ class RoomDirectoryPickerController(private val stringProvider: StringProvider,
|
|||||||
|
|
||||||
when (asyncThirdPartyProtocol) {
|
when (asyncThirdPartyProtocol) {
|
||||||
is Success -> {
|
is Success -> {
|
||||||
val directories = roomDirectoryListCreator.computeDirectories(asyncThirdPartyProtocol.invoke())
|
val directories = roomDirectoryListCreator.computeDirectories(asyncThirdPartyProtocol())
|
||||||
|
|
||||||
directories.forEach {
|
directories.forEach {
|
||||||
buildDirectory(it)
|
buildDirectory(it)
|
||||||
|
Loading…
Reference in New Issue
Block a user