diff --git a/src/mainwindow.cpp b/src/mainwindow.cpp
index 34d7524..900321f 100644
--- a/src/mainwindow.cpp
+++ b/src/mainwindow.cpp
@@ -1396,7 +1396,7 @@ void MainWindow::onUpdateXMRWidget() {
}
void MainWindow::onUpdateFiatBalanceWidget() {
- bool hide = config()->get(Config::hideBalance).toBool();
+ bool hide = config()->get(Config::hideBalance).toBool() || config()->get(Config::hideFiatBalance).toBool();
m_balanceWidget->setHidden(hide);
if(!AppContext::prices->markets.count() || !AppContext::prices->rates.count())
diff --git a/src/settings.cpp b/src/settings.cpp
index 333770d..889ef5c 100644
--- a/src/settings.cpp
+++ b/src/settings.cpp
@@ -21,6 +21,10 @@ Settings::Settings(QWidget *parent) :
connect(ui->btnCopyToClipboard, &QPushButton::clicked, this, &Settings::copyToClipboard);
connect(ui->checkBox_externalLink, &QCheckBox::clicked, this, &Settings::checkboxExternalLinkWarn);
+ connect(ui->checkBox_hideFiatBalance, &QCheckBox::toggled, [this](bool toggled){
+ config()->set(Config::hideFiatBalance, toggled);
+ m_ctx->updateBalance();
+ });
connect(ui->checkBox_hideBalance, &QCheckBox::toggled, [this](bool toggled){
config()->set(Config::hideBalance, toggled);
m_ctx->updateBalance();
diff --git a/src/settings.ui b/src/settings.ui
index 2df0bc7..41993d5 100644
--- a/src/settings.ui
+++ b/src/settings.ui
@@ -161,7 +161,7 @@
-
- Hide balance
+ Hide balances
@@ -191,6 +191,13 @@
+ -
+
+
+ Hide fiat balance
+
+
+
diff --git a/src/utils/config.cpp b/src/utils/config.cpp
index 432ce69..345c394 100644
--- a/src/utils/config.cpp
+++ b/src/utils/config.cpp
@@ -46,6 +46,7 @@ static const QHash configStrings = {
{Config::windowState, {QS("windowState"), {}}},
{Config::firstRun,{QS("firstRun"), false}},
{Config::hideBalance, {QS("hideBalance"), false}},
+ {Config::hideFiatBalance, {QS("hideFiatBalance"), false}},
{Config::redditFrontend, {QS("redditFrontend"), "old.reddit.com"}},
{Config::showHistorySyncNotice, {QS("showHistorySyncNotice"), true}}
};
diff --git a/src/utils/config.h b/src/utils/config.h
index 389f047..d5df478 100644
--- a/src/utils/config.h
+++ b/src/utils/config.h
@@ -48,6 +48,7 @@ public:
windowState,
firstRun,
hideBalance,
+ hideFiatBalance,
redditFrontend,
showHistorySyncNotice
};