mirror of
https://github.com/element-hq/element-android
synced 2024-11-25 02:45:37 +03:00
Fix crash when user navigates back
This commit is contained in:
parent
45104f8cec
commit
79f5a7c666
1 changed files with 1 additions and 1 deletions
|
@ -100,7 +100,7 @@ class DeactivateAccountViewModel @AssistedInject constructor(@Assisted private v
|
|||
}
|
||||
)
|
||||
DeactivateAccountViewEvents.Done
|
||||
} catch (failure: Exception) {
|
||||
} catch (failure: Throwable) {
|
||||
if (failure.isInvalidUIAAuth()) {
|
||||
DeactivateAccountViewEvents.InvalidAuth
|
||||
} else {
|
||||
|
|
Loading…
Reference in a new issue