Albirew/tachiyomi
Archivé
1
0
Bifurcation 0

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
Cette révision appartient à :
jFields99 2018-05-04 09:36:06 -05:00 révisé par inorichi
Parent 0cf81e6f7a
révision 86a599d13f

Voir le fichier

@ -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) {