From 207f9c26ae1e177aff0db8a7ea7a6e54bb2161a8 Mon Sep 17 00:00:00 2001 From: arkon Date: Wed, 15 Dec 2021 17:40:28 -0500 Subject: [PATCH] Add link to privacy policy --- .../java/eu/kanade/tachiyomi/ui/more/AboutController.kt | 7 +++++++ app/src/main/res/values/strings.xml | 1 + 2 files changed, 8 insertions(+) diff --git a/app/src/main/java/eu/kanade/tachiyomi/ui/more/AboutController.kt b/app/src/main/java/eu/kanade/tachiyomi/ui/more/AboutController.kt index 472c74cf2..e43d8a7dd 100644 --- a/app/src/main/java/eu/kanade/tachiyomi/ui/more/AboutController.kt +++ b/app/src/main/java/eu/kanade/tachiyomi/ui/more/AboutController.kt @@ -93,6 +93,13 @@ class AboutController : SettingsController(), NoAppBarElevationController { router.pushController(LicensesController().withFadeTransaction()) } } + preference { + key = "pref_about_privacy_policy" + titleRes = R.string.privacy_policy + onClick { + openInBrowser("https://tachiyomi.org/privacy") + } + } add(AboutLinksPreference(context)) } diff --git a/app/src/main/res/values/strings.xml b/app/src/main/res/values/strings.xml index 3c01ada93..9c0d36083 100644 --- a/app/src/main/res/values/strings.xml +++ b/app/src/main/res/values/strings.xml @@ -487,6 +487,7 @@ What\'s new Help translate Open source licenses + Privacy policy Check for updates Updated to v%1$s