Fix crash when user navigates back

This commit is contained in:
ariskotsomitopoulos 2022-04-07 14:37:18 +03:00
parent 45104f8cec
commit 79f5a7c666

View file

@ -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 {