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