mirror of
https://github.com/SchildiChat/SchildiChat-android.git
synced 2025-03-11 08:48: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) {
|
override fun handle(action: DeactivateAccountAction) {
|
||||||
when (action) {
|
when (action) {
|
||||||
is DeactivateAccountAction.DeactivateAccount -> handleDeactivateAccount(action)
|
is DeactivateAccountAction.DeactivateAccount -> handleDeactivateAccount(action)
|
||||||
DeactivateAccountAction.SsoAuthDone -> pendingAuthHandler.ssoAuthDone()
|
DeactivateAccountAction.SsoAuthDone -> {
|
||||||
|
_viewEvents.post(DeactivateAccountViewEvents.Loading())
|
||||||
|
pendingAuthHandler.ssoAuthDone()
|
||||||
|
}
|
||||||
is DeactivateAccountAction.PasswordAuthDone -> {
|
is DeactivateAccountAction.PasswordAuthDone -> {
|
||||||
_viewEvents.post(DeactivateAccountViewEvents.Loading())
|
_viewEvents.post(DeactivateAccountViewEvents.Loading())
|
||||||
pendingAuthHandler.passwordAuthDone(action.password)
|
pendingAuthHandler.passwordAuthDone(action.password)
|
||||||
|
|
Loading…
Add table
Reference in a new issue