diff --git a/app/src/main/java/org/mozilla/fenix/settings/HttpsOnlyFragment.kt b/app/src/main/java/org/mozilla/fenix/settings/HttpsOnlyFragment.kt index bdd02d8306..876eb25769 100644 --- a/app/src/main/java/org/mozilla/fenix/settings/HttpsOnlyFragment.kt +++ b/app/src/main/java/org/mozilla/fenix/settings/HttpsOnlyFragment.kt @@ -23,8 +23,6 @@ import org.mozilla.fenix.databinding.SettingsHttpsOnlyBinding import org.mozilla.fenix.ext.components import org.mozilla.fenix.ext.settings -private const val SUMO_URL = "https://support.mozilla.org/en-US/kb/https-only-mode-firefox-android" - /** * Lets the user customize HTTPS-only mode. */ @@ -104,7 +102,9 @@ class HttpsOnlyFragment : Fragment() { override fun onClick(view: View) { view.setOnClickListener { (activity as HomeActivity).openToBrowserAndLoad( - searchTermOrURL = SUMO_URL, + searchTermOrURL = SupportUtils.getGenericSumoURLForTopic( + SupportUtils.SumoTopic.HTTPS_ONLY_MODE + ), newTab = true, from = BrowserDirection.FromHttpsOnlyMode ) diff --git a/app/src/main/java/org/mozilla/fenix/settings/SupportUtils.kt b/app/src/main/java/org/mozilla/fenix/settings/SupportUtils.kt index 77ee7debd5..59e4636385 100644 --- a/app/src/main/java/org/mozilla/fenix/settings/SupportUtils.kt +++ b/app/src/main/java/org/mozilla/fenix/settings/SupportUtils.kt @@ -51,7 +51,8 @@ object SupportUtils { SYNC_SETUP("how-set-firefox-sync-firefox-android"), QR_CAMERA_ACCESS("qr-camera-access"), SMARTBLOCK("smartblock-enhanced-tracking-protection"), - SPONSOR_PRIVACY("sponsor-privacy") + SPONSOR_PRIVACY("sponsor-privacy"), + HTTPS_ONLY_MODE("https-only-mode-firefox-android"), } enum class MozillaPage(internal val path: String) {