1
0

qml: lightningpaymentdetails show Paid banner instead of just Status:settled

This commit is contained in:
Sander van Grieken
2025-06-02 17:21:42 +02:00
parent df2c1d6ae1
commit c6fb55d416

View File

@@ -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 {