mirror of
https://github.com/SchildiChat/SchildiChat-android.git
synced 2025-03-18 04:08:44 +03:00
Progress to status screen on failure
This commit is contained in:
parent
cf1c7515fb
commit
a3126b0026
1 changed files with 2 additions and 0 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Reference in a new issue