mirror of
https://github.com/feather-wallet/feather.git
synced 2024-11-17 17:57:39 +00:00
TickerWidget: fix balance
This commit is contained in:
parent
4fff4b8556
commit
23d1ff2c78
1 changed files with 1 additions and 1 deletions
|
@ -68,7 +68,7 @@ BalanceTickerWidget::BalanceTickerWidget(QWidget *parent, QSharedPointer<AppCont
|
|||
}
|
||||
|
||||
void BalanceTickerWidget::updateDisplay() {
|
||||
double balance = (m_totalBalance ? m_ctx->wallet->balanceAll() : m_ctx->wallet->balanceAll()) / constants::cdiv;
|
||||
double balance = (m_totalBalance ? m_ctx->wallet->balanceAll() : m_ctx->wallet->balance()) / constants::cdiv;
|
||||
QString fiatCurrency = config()->get(Config::preferredFiatCurrency).toString();
|
||||
double balanceFiatAmount = appData()->prices.convert("XMR", fiatCurrency, balance);
|
||||
if (balanceFiatAmount < 0)
|
||||
|
|
Loading…
Reference in a new issue