qml: fix display of server fee in swap dialog
The previously displayed amount was not the percentage, but the mining fee plus the percentage.
This commit is contained in:
@@ -119,7 +119,7 @@ ElDialog {
|
||||
Layout.preferredWidth: 1
|
||||
Layout.fillWidth: true
|
||||
Label {
|
||||
text: Config.formatSats(swaphelper.serverfee)
|
||||
text: Config.formatSats(swaphelper.server_miningfee)
|
||||
font.family: FixedFont
|
||||
}
|
||||
Label {
|
||||
@@ -128,7 +128,7 @@ ElDialog {
|
||||
}
|
||||
Label {
|
||||
text: swaphelper.serverfeeperc
|
||||
? '(' + swaphelper.serverfeeperc + ')'
|
||||
? '+ ' + swaphelper.serverfeeperc
|
||||
: ''
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user