mirror of
https://github.com/SchildiChat/SchildiChat-android.git
synced 2024-11-22 17:35:54 +03:00
Fix missing loading ViewEvent
This commit is contained in:
parent
99c2088d0e
commit
854a604fbe
1 changed files with 4 additions and 1 deletions
|
@ -52,7 +52,10 @@ class DeactivateAccountViewModel @AssistedInject constructor(
|
|||
override fun handle(action: DeactivateAccountAction) {
|
||||
when (action) {
|
||||
is DeactivateAccountAction.DeactivateAccount -> handleDeactivateAccount(action)
|
||||
DeactivateAccountAction.SsoAuthDone -> pendingAuthHandler.ssoAuthDone()
|
||||
DeactivateAccountAction.SsoAuthDone -> {
|
||||
_viewEvents.post(DeactivateAccountViewEvents.Loading())
|
||||
pendingAuthHandler.ssoAuthDone()
|
||||
}
|
||||
is DeactivateAccountAction.PasswordAuthDone -> {
|
||||
_viewEvents.post(DeactivateAccountViewEvents.Loading())
|
||||
pendingAuthHandler.passwordAuthDone(action.password)
|
||||
|
|
Loading…
Reference in a new issue