summaryrefslogtreecommitdiff
path: root/pkg/backend/api.go
diff options
context:
space:
mode:
Diffstat (limited to 'pkg/backend/api.go')
-rw-r--r--pkg/backend/api.go4
1 files changed, 3 insertions, 1 deletions
diff --git a/pkg/backend/api.go b/pkg/backend/api.go
index d422bf3..b78605e 100644
--- a/pkg/backend/api.go
+++ b/pkg/backend/api.go
@@ -103,7 +103,9 @@ func InitializeBitmaskContext(opts *InitOpts) {
ctx.LoginDialog = ctx.bm.NeedsCredentials()
go ctx.updateStatus()
}
- runDonationReminder()
+ if ctx.AskForDonations {
+ runDonationReminder()
+ }
}
func RefreshContext() *C.char {