mirror of
https://github.com/feather-wallet/feather.git
synced 2024-12-22 03:29:24 +00:00
mainwindow: fix hide balance if fiat is enabled
This commit is contained in:
parent
e721e74b6e
commit
5ddf31a58b
1 changed files with 1 additions and 1 deletions
|
@ -615,7 +615,7 @@ void MainWindow::onBalanceUpdated(quint64 balance, quint64 spendable) {
|
|||
}
|
||||
}
|
||||
|
||||
if (conf()->get(Config::balanceShowFiat).toBool()) {
|
||||
if (conf()->get(Config::balanceShowFiat).toBool() && !hide) {
|
||||
QString fiatCurrency = conf()->get(Config::preferredFiatCurrency).toString();
|
||||
double balanceFiatAmount = appData()->prices.convert("XMR", fiatCurrency, balance / constants::cdiv);
|
||||
balance_str += QString(" (%1)").arg(Utils::amountToCurrencyString(balanceFiatAmount, fiatCurrency));
|
||||
|
|
Loading…
Reference in a new issue