When logging out from Pin code screen, logout from all the sessions.
This commit is contained in:
parent
b5e535029f
commit
6f06e6a6c3
6 changed files with 146 additions and 20 deletions
|
|
@ -174,7 +174,7 @@ class PinUnlockPresenter(
|
|||
|
||||
private fun CoroutineScope.signOut(signOutAction: MutableState<AsyncAction<Unit>>) = launch {
|
||||
suspend {
|
||||
logoutUseCase.logout(ignoreSdkError = true)
|
||||
logoutUseCase.logoutAll(ignoreSdkError = true)
|
||||
}.runCatchingUpdatingState(signOutAction)
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue