Progress to status screen on failure
This commit is contained in:
parent
cf1c7515fb
commit
a3126b0026
|
@ -125,6 +125,8 @@ class QrCodeLoginViewModel @AssistedInject constructor(
|
||||||
}
|
}
|
||||||
|
|
||||||
private fun onFailed(reason: RendezvousFailureReason) {
|
private fun onFailed(reason: RendezvousFailureReason) {
|
||||||
|
_viewEvents.post(QrCodeLoginViewEvents.NavigateToStatusScreen)
|
||||||
|
|
||||||
setState {
|
setState {
|
||||||
copy(
|
copy(
|
||||||
connectionStatus = QrCodeLoginConnectionStatus.Failed(reason, reason.canRetry)
|
connectionStatus = QrCodeLoginConnectionStatus.Failed(reason, reason.canRetry)
|
||||||
|
|
Loading…
Reference in New Issue