Only do completeOnNewDevice if we received a confirmation code
This commit is contained in:
parent
1e1affbb7b
commit
6e58f2fa51
@ -85,8 +85,8 @@ class QrCodeLoginViewModel @AssistedInject constructor(
|
|||||||
Timber.tag(TAG).i("Established secure channel with checksum: $confirmationCode")
|
Timber.tag(TAG).i("Established secure channel with checksum: $confirmationCode")
|
||||||
confirmationCode ?.let {
|
confirmationCode ?.let {
|
||||||
onConnectionEstablished(it)
|
onConnectionEstablished(it)
|
||||||
|
rendezvous.completeOnNewDevice()
|
||||||
}
|
}
|
||||||
rendezvous.completeOnNewDevice()
|
|
||||||
}
|
}
|
||||||
// if (isValidQrCode(action.qrCode)) {
|
// if (isValidQrCode(action.qrCode)) {
|
||||||
// setState {
|
// setState {
|
||||||
|
Loading…
Reference in New Issue
Block a user