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

Fix clear providers for uia

parent 3a18f3fb
No related branches found
No related tags found
No related merge requests found
......@@ -87,7 +87,6 @@ class UIAViewModel @Inject constructor(
passPhraseLoadingLiveData.postValue(LoadingData(isLoading = false))
refreshTokenManager.scheduleTokenRefreshIfNeeded(session)
handleKeysBackup()
clearProviders()
}
}
......@@ -141,7 +140,10 @@ class UIAViewModel @Inject constructor(
navigationLiveData.postValue(AuthUIAScreenNavigationEvent.PassPhrase)
}
is Response.Success -> navigationLiveData.postValue(AuthUIAScreenNavigationEvent.Home)
is Response.Success -> {
clearProviders()
navigationLiveData.postValue(AuthUIAScreenNavigationEvent.Home)
}
}
}
......
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