1
0

qml: use FormattedAmount for fee in LightningPaymentDetails

This commit is contained in:
Sander van Grieken
2023-02-11 09:51:24 +01:00
parent 56cdc4a92b
commit b5f0be2d8d

View File

@@ -68,15 +68,9 @@ Pane {
color: Material.accentColor
}
RowLayout {
FormattedAmount {
visible: lnpaymentdetails.amount.msatsInt < 0
Label {
text: Config.formatMilliSats(lnpaymentdetails.fee)
}
Label {
text: Config.baseUnit
color: Material.accentColor
}
amount: lnpaymentdetails.fee
}
Label {