From 45c13d49936009f095629ef6f6d82aae768b20f3 Mon Sep 17 00:00:00 2001 From: "kali kaneko (leap communications)" Date: Tue, 22 Jun 2021 17:10:26 +0200 Subject: [feat] only show donate dialog after first connect when due - Cloases: #470 --- pkg/backend/donate.go | 2 ++ 1 file changed, 2 insertions(+) (limited to 'pkg/backend') 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 { -- cgit v1.2.3