qml: lightningpaymentdetails show Paid banner instead of just Status:settled
This commit is contained in:
@@ -33,13 +33,13 @@ Pane {
|
|||||||
text: qsTr('Lightning payment details')
|
text: qsTr('Lightning payment details')
|
||||||
}
|
}
|
||||||
|
|
||||||
Label {
|
InfoTextArea {
|
||||||
text: qsTr('Status')
|
Layout.columnSpan: 2
|
||||||
color: Material.accentColor
|
Layout.fillWidth: true
|
||||||
}
|
Layout.bottomMargin: constants.paddingLarge
|
||||||
|
visible: text
|
||||||
Label {
|
text: lnpaymentdetails.status ? qsTr('Paid') : ''
|
||||||
text: lnpaymentdetails.status
|
iconStyle: InfoTextArea.IconStyle.Done
|
||||||
}
|
}
|
||||||
|
|
||||||
Label {
|
Label {
|
||||||
|
|||||||
Reference in New Issue
Block a user