mirror of
https://github.com/tachiyomiorg/tachiyomi.git
synced 2024-12-23 01:21:52 +01:00
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:
parent
0cf81e6f7a
commit
86a599d13f
@ -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) {
|
||||||
|
Loading…
Reference in New Issue
Block a user