mirror of
https://git.mihon.tech/mihonapp/mihon
synced 2024-11-22 13:15:47 +03: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
1 changed files with 9 additions and 0 deletions
|
@ -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) {
|
||||
|
|
Loading…
Reference in a new issue