Skip to content

Commit eba9617

Browse files
committed
Revert Privacy url update
Waiting for confirmation on the new URL for WP
1 parent ae4c4e1 commit eba9617

1 file changed

Lines changed: 2 additions & 3 deletions

File tree

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

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -57,8 +57,8 @@ class UnifiedAboutViewModel @Inject constructor(
5757
)
5858
),
5959
legalConfig = LegalConfig(
60-
tosUrl = termsOfServiceUrl(),
61-
privacyPolicyUrl = if (buildConfig.isJetpackApp) Constants.URL_PRIVACY_POLICY else WP_PRIVACY_URL,
60+
tosUrl = wpUrlUtils.buildTermsOfServiceUrl(contextProvider.getContext()),
61+
privacyPolicyUrl = Constants.URL_PRIVACY_POLICY,
6262
acknowledgementsUrl = LICENSES_FILE_URL
6363
),
6464
automatticConfig = AutomatticConfig(isVisible = buildConfig.isJetpackApp),
@@ -132,7 +132,6 @@ class UnifiedAboutViewModel @Inject constructor(
132132
private const val WP_APPS_URL = "https://apps.wordpress.com"
133133
private const val WP_BLOG_URL = "https://wordpress.org/news/"
134134
private const val WP_CONTRIBUTE_URL = "https://make.wordpress.org/mobile/handbook/"
135-
private const val WP_PRIVACY_URL = "https://wordpress.org/about/privacy/"
136135
private const val WP_TOS_URL = "https://wordpress.org/about"
137136

138137
private const val JP_SOCIAL_HANDLE = "jetpack"

0 commit comments

Comments
 (0)