Transfer: updateFromQrCode - fix extra space (empty recipient name)

This commit is contained in:
xiphon 2020-12-24 10:07:08 +00:00
parent df771470c2
commit 3f0bbfb6aa

View file

@ -98,7 +98,7 @@ Rectangle {
addressLine.text = address addressLine.text = address
setPaymentId(payment_id); setPaymentId(payment_id);
amountLine.text = amount amountLine.text = amount
setDescription(recipient_name + " " + tx_description); setDescription((recipient_name ? recipient_name + " " : "") + tx_description);
cameraUi.qrcode_decoded.disconnect(updateFromQrCode) cameraUi.qrcode_decoded.disconnect(updateFromQrCode)
} }