From 86a599d13ffb03be155be28bf99c3e6dea7bdae9 Mon Sep 17 00:00:00 2001 From: jFields99 <7573219+jfields99@users.noreply.github.com> Date: Fri, 4 May 2018 09:36:06 -0500 Subject: [PATCH] Added Github link to about. (#1389) * Added Github link to about. * Added github link to About page (Fixed) Fixed based on jogerj's comment in #1389 * Changed Github link to correct URL. * Balanced brackets --- .../tachiyomi/ui/setting/SettingsAboutController.kt | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/app/src/main/java/eu/kanade/tachiyomi/ui/setting/SettingsAboutController.kt b/app/src/main/java/eu/kanade/tachiyomi/ui/setting/SettingsAboutController.kt index d36927b1f4..e235f99514 100644 --- a/app/src/main/java/eu/kanade/tachiyomi/ui/setting/SettingsAboutController.kt +++ b/app/src/main/java/eu/kanade/tachiyomi/ui/setting/SettingsAboutController.kt @@ -93,6 +93,15 @@ class SettingsAboutController : SettingsController() { titleRes = R.string.build_time summary = getFormattedBuildTime() } + preference { + title = "Github" + val url = "https://github.com/inorichi/tachiyomi" + summary = url + onClick { + val intent = Intent(Intent.ACTION_VIEW, Uri.parse(url)) + startActivity(intent) + } + } } override fun onDestroyView(view: View) {