qml: use FormattedAmount in LightningPaymentDetails, formatter and fx now use millisats if available, else sats
This commit is contained in:
@@ -9,7 +9,7 @@ RowLayout {
|
||||
required property Amount amount
|
||||
property bool showAlt: true
|
||||
Label {
|
||||
text: Config.formatSats(amount)
|
||||
text: amount.msatsInt > 0 ? Config.formatMilliSats(amount) : Config.formatSats(amount)
|
||||
font.family: FixedFont
|
||||
}
|
||||
Label {
|
||||
|
||||
Reference in New Issue
Block a user