mirror of
https://github.com/feather-wallet/feather.git
synced 2025-01-03 17:39:49 +00:00
Don't show donationNag on empty wallets
This commit is contained in:
parent
d52df3b94e
commit
840d6a2b02
1 changed files with 3 additions and 0 deletions
|
@ -1575,6 +1575,9 @@ void MainWindow::donationNag() {
|
|||
if (m_ctx->wallet->viewOnly())
|
||||
return;
|
||||
|
||||
if (m_ctx->wallet->balanceAll() == 0)
|
||||
return;
|
||||
|
||||
auto donationCounter = config()->get(Config::donateBeg).toInt();
|
||||
if (donationCounter == -1)
|
||||
return;
|
||||
|
|
Loading…
Reference in a new issue