Skip to content

Commit

Permalink
Fix oppia#4760 In Terms of Service the website should be displayed as…
Browse files Browse the repository at this point in the history
… link and should be clickable
  • Loading branch information
Tejas-67 committed Oct 24, 2023
1 parent 8847a51 commit 98586a0
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ class PoliciesFragmentPresenter @Inject constructor(
if (policyPage == PolicyPage.PRIVACY_POLICY) {
policyDescription = resourceHandler.getStringInLocale(R.string.privacy_policy_content)
val spannedContent: Spanned = if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.N) {
Html.fromHtml(policyDescription,Html.FROM_HTML_MODE_COMPACT)
Html.fromHtml(policyDescription, Html.FROM_HTML_MODE_COMPACT)
} else {
@Suppress("DEPRECATION")
Html.fromHtml(policyDescription)
Expand Down

0 comments on commit 98586a0

Please sign in to comment.