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
This commit is contained in:
jFields99 2018-05-04 09:36:06 -05:00 committed by inorichi
parent 0cf81e6f7a
commit 86a599d13f

View file

@ -93,6 +93,15 @@ class SettingsAboutController : SettingsController() {
titleRes = R.string.build_time titleRes = R.string.build_time
summary = getFormattedBuildTime() 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) { override fun onDestroyView(view: View) {