Skip to content
Snippets Groups Projects
Verified Commit 3a27fa8d authored by meskio's avatar meskio :tent:
Browse files

[feat] change the donation notification timeout to 1 hour

- Resolves: #57
parent e811786f
No related branches found
No related tags found
No related merge requests found
......@@ -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)
}
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment