From e710eec552c36b53b6be50d0be7f187f8839968c Mon Sep 17 00:00:00 2001
From: Ruben Pollan <meskio@sindominio.net>
Date: Wed, 25 Apr 2018 22:54:46 +0200
Subject: [PATCH] [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.
---
 systray.go | 1 +
 1 file changed, 1 insertion(+)

diff --git a/systray.go b/systray.go
index b3c020de..e325844f 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:
-- 
GitLab