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 à :
Parent
0cf81e6f7a
révision
86a599d13f
1 fichiers modifiés avec 9 ajouts et 0 suppressions
|
@ -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) {
|
||||
|
|
Référencer dans un nouveau ticket