summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRuben Pollan <meskio@sindominio.net>2018-04-25 22:54:46 +0200
committerRuben Pollan <meskio@sindominio.net>2018-04-25 22:54:46 +0200
commite710eec552c36b53b6be50d0be7f187f8839968c (patch)
tree3d3949e454d6a50aae5751d9cd2b8c5c99acce4c
parent523f56ce68ae0f1633ff78fd7886611852571186 (diff)
[feat] don't notify in 30 days if systray/donate is clicked
The same than if the user clicks on 'yes' on the donation dialog will happen now with the systray/donate button.
-rw-r--r--systray.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/systray.go b/systray.go
index b3c020d..e325844 100644
--- a/systray.go
+++ b/systray.go
@@ -110,6 +110,7 @@ func (bt *bmTray) onReady() {
case <-mHelp.ClickedCh:
open.Run("https://riseup.net/vpn")
case <-bt.mDonate.ClickedCh:
+ bt.conf.setDonated()
open.Run("https://riseup.net/donate-vpn")
case <-mQuit.ClickedCh: