Skip to content

Commit

Permalink
rebase + refactor sumo link
Browse files Browse the repository at this point in the history
  • Loading branch information
MattLichtenstein committed Jan 18, 2024
1 parent f30baea commit 06c10ac
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
3 changes: 3 additions & 0 deletions src/constants.h
Original file line number Diff line number Diff line change
Expand Up @@ -214,6 +214,9 @@ constexpr const char* MOZILLA_VPN_SUMO_URL =
constexpr const char* SUMO_DNS =
"https://support.mozilla.org/kb/how-do-i-change-my-dns-settings";

constexpr const char* SUMO_PRIVACY =
"https://support.mozilla.org/kb/how-do-i-change-my-privacy-features";

PRODBETAEXPR(QString, contactSupportUrl, "https://accounts.firefox.com/support",
"https://accounts.stage.mozaws.net/support")

Expand Down
6 changes: 2 additions & 4 deletions src/mozillavpn.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1385,10 +1385,8 @@ void MozillaVPN::registerUrlOpenerLabels() {
uo->registerUrlLabel("sumoDns",
[]() -> QString { return Constants::SUMO_DNS; });

uo->registerUrlLabel("sumoPrivacy", []() -> QString {
return "https://support.mozilla.org/en-US/kb/"
"how-do-i-change-my-privacy-features";
});
uo->registerUrlLabel("sumoPrivacy",
[]() -> QString { return Constants::SUMO_PRIVACY; });
}

void MozillaVPN::errorHandled() {
Expand Down

0 comments on commit 06c10ac

Please sign in to comment.