qml: use FormattedAmount for fee in LightningPaymentDetails
This commit is contained in:
@@ -68,15 +68,9 @@ Pane {
|
|||||||
color: Material.accentColor
|
color: Material.accentColor
|
||||||
}
|
}
|
||||||
|
|
||||||
RowLayout {
|
FormattedAmount {
|
||||||
visible: lnpaymentdetails.amount.msatsInt < 0
|
visible: lnpaymentdetails.amount.msatsInt < 0
|
||||||
Label {
|
amount: lnpaymentdetails.fee
|
||||||
text: Config.formatMilliSats(lnpaymentdetails.fee)
|
|
||||||
}
|
|
||||||
Label {
|
|
||||||
text: Config.baseUnit
|
|
||||||
color: Material.accentColor
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
Label {
|
Label {
|
||||||
|
|||||||
Reference in New Issue
Block a user