From 3f0bbfb6aa6f2d4810b574fa43dcebd738b3d30b Mon Sep 17 00:00:00 2001 From: xiphon Date: Thu, 24 Dec 2020 10:07:08 +0000 Subject: [PATCH] Transfer: updateFromQrCode - fix extra space (empty recipient name) --- pages/Transfer.qml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pages/Transfer.qml b/pages/Transfer.qml index 44edd403..e04e9027 100644 --- a/pages/Transfer.qml +++ b/pages/Transfer.qml @@ -98,7 +98,7 @@ Rectangle { addressLine.text = address setPaymentId(payment_id); amountLine.text = amount - setDescription(recipient_name + " " + tx_description); + setDescription((recipient_name ? recipient_name + " " : "") + tx_description); cameraUi.qrcode_decoded.disconnect(updateFromQrCode) }