summaryrefslogtreecommitdiff
path: root/pkg
diff options
context:
space:
mode:
authorkali kaneko (leap communications) <kali@leap.se>2021-06-22 17:10:26 +0200
committerkali kaneko (leap communications) <kali@leap.se>2021-06-22 18:04:46 +0200
commit45c13d49936009f095629ef6f6d82aae768b20f3 (patch)
tree98e15d3cc4f318053874381e7826b8e6500ad212 /pkg
parent326dc2449a69c9ea97cb5c2936807e9045dc1aa7 (diff)
[feat] only show donate dialog after first connect when due
- Cloases: #470
Diffstat (limited to 'pkg')
-rw-r--r--pkg/backend/donate.go2
1 files changed, 2 insertions, 0 deletions
diff --git a/pkg/backend/donate.go b/pkg/backend/donate.go
index c16c0f4..98f9e6b 100644
--- a/pkg/backend/donate.go
+++ b/pkg/backend/donate.go
@@ -15,6 +15,8 @@ func runDonationReminder() {
}
}
}()
+ // to test manually, uncomment this line.
+ // time.AfterFunc(1*time.Minute, func() { showDonate() })
}
func needsDonationReminder() bool {