diff --git a/notificator.go b/notificator.go index a69bdb01f9babc80d26b28c5e9452979138b28e0..1e9e405486b23bc469a5ca13048e70cf17cffe3e 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) } }