From c6fb55d416b2bcfb8e1b4eb8062ae320a49a8dee Mon Sep 17 00:00:00 2001 From: Sander van Grieken Date: Mon, 2 Jun 2025 17:21:42 +0200 Subject: [PATCH] qml: lightningpaymentdetails show Paid banner instead of just Status:settled --- .../gui/qml/components/LightningPaymentDetails.qml | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/electrum/gui/qml/components/LightningPaymentDetails.qml b/electrum/gui/qml/components/LightningPaymentDetails.qml index 31ea3bfda..2edbacd90 100644 --- a/electrum/gui/qml/components/LightningPaymentDetails.qml +++ b/electrum/gui/qml/components/LightningPaymentDetails.qml @@ -33,13 +33,13 @@ Pane { text: qsTr('Lightning payment details') } - Label { - text: qsTr('Status') - color: Material.accentColor - } - - Label { - text: lnpaymentdetails.status + InfoTextArea { + Layout.columnSpan: 2 + Layout.fillWidth: true + Layout.bottomMargin: constants.paddingLarge + visible: text + text: lnpaymentdetails.status ? qsTr('Paid') : '' + iconStyle: InfoTextArea.IconStyle.Done } Label {