Skip to content
Snippets Groups Projects
Commit d1e6e231 authored by Taras's avatar Taras
Browse files

Remove redundant suspend

parent 45ff8743
No related branches found
No related tags found
No related merge requests found
......@@ -111,7 +111,7 @@ class LoginStagesDataSource @Inject constructor(
return handleRestoreResult(restoreResult)
}
private suspend fun handleRestoreResult(restoreResult: Response<Unit>): Response<Unit> {
private fun handleRestoreResult(restoreResult: Response<Unit>): Response<Unit> {
when (restoreResult) {
is Response.Error -> loginNavigationLiveData.postValue(LoginNavigationEvent.PassPhrase)
is Response.Success -> navigateToMain()
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment