diff options
-rw-r--r-- | notificator.go | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/notificator.go b/notificator.go index a69bdb0..1e9e405 100644 --- a/notificator.go +++ b/notificator.go @@ -53,8 +53,8 @@ func newNotificator(conf *systrayConfig) *notificator { } func (n *notificator) donations() { - time.Sleep(time.Minute * 5) for { + time.Sleep(time.Hour) if n.conf.needsNotification() { letsDonate := dialog.Message(printer.Sprintf(donationText, applicationName)). Title(printer.Sprintf("Donate")). @@ -66,7 +66,6 @@ func (n *notificator) donations() { n.conf.setDonated() } } - time.Sleep(time.Hour) } } |