Transfer: convert and display entered amount in fiat currency

This commit is contained in:
xiphon
2019-11-13 08:02:19 +00:00
parent 7f7a39292c
commit e9cdaf4dbe
4 changed files with 28 additions and 7 deletions

View File

@@ -238,7 +238,7 @@ Rectangle {
font.pixelSize: 16
text: {
if (persistentSettings.fiatPriceEnabled && persistentSettings.fiatPriceToggle) {
return persistentSettings.fiatPriceCurrency == "xmrusd" ? "USD" : "EUR"
return appWindow.fiatApiCurrencySymbol();
} else {
return "XMR"
}