Skip to content

Commit da19835

Browse files
committed
No need to invoke getOrNull.
1 parent 941dfa7 commit da19835

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

appnav/src/main/kotlin/io/element/android/appnav/loggedin/LoggedInPresenter.kt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -207,7 +207,7 @@ class LoggedInPresenter @Inject constructor(
207207
}
208208

209209
private fun CoroutineScope.preloadAccountManagementUrl() = launch {
210-
matrixClient.getAccountManagementUrl(AccountManagementAction.Profile).getOrNull()
211-
matrixClient.getAccountManagementUrl(AccountManagementAction.SessionsList).getOrNull()
210+
matrixClient.getAccountManagementUrl(AccountManagementAction.Profile)
211+
matrixClient.getAccountManagementUrl(AccountManagementAction.SessionsList)
212212
}
213213
}

0 commit comments

Comments
 (0)