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())
}
}
preference {
key = "pref_about_privacy_policy"
titleRes = R.string.privacy_policy
onClick {
openInBrowser("https://tachiyomi.org/privacy")
}
}
add(AboutLinksPreference(context))
}