Add link to privacy policy

This commit is contained in:
arkon 2021-12-15 17:40:28 -05:00
parent 6367ce5e5e
commit 207f9c26ae
2 changed files with 8 additions and 0 deletions

View File

@ -93,6 +93,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>