Only do completeOnNewDevice if we received a confirmation code

This commit is contained in:
Hugh Nimmo-Smith 2022-10-12 13:08:01 +01:00
parent 6e09d90007
commit 86090086b1

View file

@ -85,9 +85,9 @@ class QrCodeLoginViewModel @AssistedInject constructor(
Timber.tag(TAG).i("Established secure channel with checksum: $confirmationCode")
confirmationCode ?.let {
onConnectionEstablished(it)
}
rendezvous.completeOnNewDevice()
}
}
// if (isValidQrCode(action.qrCode)) {
// setState {
// copy(