diff options
Diffstat (limited to 'pkg/backend/donate.go')
-rw-r--r-- | pkg/backend/donate.go | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/pkg/backend/donate.go b/pkg/backend/donate.go index d216687..608128f 100644 --- a/pkg/backend/donate.go +++ b/pkg/backend/donate.go @@ -3,8 +3,17 @@ package backend import ( "log" "time" + + "0xacab.org/leap/bitmask-vpn/pkg/config" ) +func wantDonations() bool { + if config.AskForDonations == "true" { + return true + } + return false +} + func needsDonationReminder() bool { return ctx.cfg.NeedsDonationReminder() } |