Fix logic for showing confirm button
This commit is contained in:
parent
343cf74871
commit
4c7c86100f
|
@ -113,7 +113,7 @@ class QrCodeLoginStatusFragment : VectorBaseFragment<FragmentQrCodeLoginStatusBi
|
||||||
}
|
}
|
||||||
|
|
||||||
private fun handleConnectionEstablished(connectionStatus: QrCodeLoginConnectionStatus.Connected, loginType: QrCodeLoginType) {
|
private fun handleConnectionEstablished(connectionStatus: QrCodeLoginConnectionStatus.Connected, loginType: QrCodeLoginType) {
|
||||||
views.qrCodeLoginConfirmSecurityCodeLayout.isVisible = true
|
views.qrCodeLoginConfirmSecurityCodeLayout.isVisible = loginType == QrCodeLoginType.LINK_A_DEVICE
|
||||||
views.qrCodeLoginStatusLoadingLayout.isVisible = false
|
views.qrCodeLoginStatusLoadingLayout.isVisible = false
|
||||||
views.qrCodeLoginStatusHeaderView.isVisible = true
|
views.qrCodeLoginStatusHeaderView.isVisible = true
|
||||||
views.qrCodeLoginStatusSecurityCode.isVisible = true
|
views.qrCodeLoginStatusSecurityCode.isVisible = true
|
||||||
|
|
Loading…
Reference in New Issue