File tree Expand file tree Collapse file tree
WordPress/src/main/java/org/wordpress/android/ui/about Expand file tree Collapse file tree Original file line number Diff line number Diff 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"
You can’t perform that action at this time.
0 commit comments