qml: use FormattedAmount for fee in LightningPaymentDetails
This commit is contained in:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user