Skip to content

Commit fd40040

Browse files
committed
Update WP privacy url
1 parent cab728b commit fd40040

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

WordPress/src/main/java/org/wordpress/android/ui/about/UnifiedAboutViewModel.kt

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ class UnifiedAboutViewModel @Inject constructor(
5858
),
5959
legalConfig = LegalConfig(
6060
tosUrl = wpUrlUtils.buildTermsOfServiceUrl(contextProvider.getContext()),
61-
privacyPolicyUrl = Constants.URL_PRIVACY_POLICY,
61+
privacyPolicyUrl = if (buildConfig.isJetpackApp) Constants.URL_PRIVACY_POLICY else WP_PRIVACY_URL,
6262
acknowledgementsUrl = LICENSES_FILE_URL
6363
),
6464
automatticConfig = AutomatticConfig(isVisible = buildConfig.isJetpackApp),
@@ -126,6 +126,7 @@ class UnifiedAboutViewModel @Inject constructor(
126126
private const val WP_APPS_URL = "https://apps.wordpress.com"
127127
private const val WP_BLOG_URL = "https://wordpress.org/news/"
128128
private const val WP_CONTRIBUTE_URL = "https://make.wordpress.org/mobile/handbook/"
129+
private const val WP_PRIVACY_URL = "https://wordpress.org/about/privacy/"
129130

130131
private const val JP_SOCIAL_HANDLE = "jetpack"
131132
private const val JP_APPS_URL = "https://jetpack.com/app"

0 commit comments

Comments
 (0)