No need to invoke getOrNull.
This commit is contained in:
parent
5b07a0acb1
commit
0e914ae1fb
1 changed files with 2 additions and 2 deletions
|
|
@ -207,7 +207,7 @@ class LoggedInPresenter @Inject constructor(
|
||||||
}
|
}
|
||||||
|
|
||||||
private fun CoroutineScope.preloadAccountManagementUrl() = launch {
|
private fun CoroutineScope.preloadAccountManagementUrl() = launch {
|
||||||
matrixClient.getAccountManagementUrl(AccountManagementAction.Profile).getOrNull()
|
matrixClient.getAccountManagementUrl(AccountManagementAction.Profile)
|
||||||
matrixClient.getAccountManagementUrl(AccountManagementAction.SessionsList).getOrNull()
|
matrixClient.getAccountManagementUrl(AccountManagementAction.SessionsList)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue