1
0

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:
ThomasV
2023-03-16 19:29:56 +01:00
parent d4d6d05d9f
commit 6890268b1d
2 changed files with 16 additions and 16 deletions

View File

@@ -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
: ''
}
}