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
1 changed files with 2 additions and 0 deletions

View File

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