Add link to privacy policy

(cherry picked from commit 207f9c26ae1e177aff0db8a7ea7a6e54bb2161a8)
This commit is contained in:
arkon 2021-12-15 17:40:28 -05:00 committed by Jobobby04
parent bd22026d16
commit 75db31914b
2 changed files with 8 additions and 0 deletions

View File

@ -88,6 +88,13 @@ class AboutController : SettingsController(), NoAppBarElevationController {
router.pushController(LicensesController().withFadeTransaction()) router.pushController(LicensesController().withFadeTransaction())
} }
} }
preference {
key = "pref_about_privacy_policy"
titleRes = R.string.privacy_policy
onClick {
openInBrowser("https://tachiyomi.org/privacy")
}
}
add(AboutLinksPreference(context)) add(AboutLinksPreference(context))
} }

View File

@ -487,6 +487,7 @@
<string name="whats_new">What\'s new</string> <string name="whats_new">What\'s new</string>
<string name="help_translate">Help translate</string> <string name="help_translate">Help translate</string>
<string name="licenses">Open source licenses</string> <string name="licenses">Open source licenses</string>
<string name="privacy_policy">Privacy policy</string>
<string name="check_for_updates">Check for updates</string> <string name="check_for_updates">Check for updates</string>
<string name="updated_version">Updated to v%1$s</string> <string name="updated_version">Updated to v%1$s</string>