Progress to status screen on failure

This commit is contained in:
Hugh Nimmo-Smith 2022-10-18 00:35:35 +01:00
parent cf1c7515fb
commit a3126b0026

View file

@ -125,6 +125,8 @@ class QrCodeLoginViewModel @AssistedInject constructor(
}
private fun onFailed(reason: RendezvousFailureReason) {
_viewEvents.post(QrCodeLoginViewEvents.NavigateToStatusScreen)
setState {
copy(
connectionStatus = QrCodeLoginConnectionStatus.Failed(reason, reason.canRetry)