diff options
Diffstat (limited to 'pkg/backend')
-rw-r--r-- | pkg/backend/bitmask.go | 2 | ||||
-rw-r--r-- | pkg/backend/status.go | 2 |
2 files changed, 4 insertions, 0 deletions
diff --git a/pkg/backend/bitmask.go b/pkg/backend/bitmask.go index 8fd2367..feff115 100644 --- a/pkg/backend/bitmask.go +++ b/pkg/backend/bitmask.go @@ -53,6 +53,8 @@ func initializeContext(provider, appName string) { ctx = &connectionCtx{ AppName: appName, Provider: provider, + TosURL: config.TosURL, + HelpURL: config.HelpURL, DonateURL: config.DonateURL, AskForDonations: wantDonations(), DonateDialog: false, diff --git a/pkg/backend/status.go b/pkg/backend/status.go index 7e9f211..6b13dd3 100644 --- a/pkg/backend/status.go +++ b/pkg/backend/status.go @@ -29,6 +29,8 @@ var ctx *connectionCtx type connectionCtx struct { AppName string `json:"appName"` Provider string `json:"provider"` + TosURL string `json:"tosURL"` + HelpURL string `json:"helpURL"` AskForDonations bool `json:"askForDonations"` DonateDialog bool `json:"donateDialog"` DonateURL string `json:"donateURL"` |