pull/59/head
Celeter 5 years ago
parent 880e9e51ac
commit 5a2ae0170d
  1. 2
      app/src/main/java/io/legado/app/ui/about/AboutFragment.kt
  2. 2
      app/src/main/res/values/pref_key_value.xml

@ -23,7 +23,7 @@ class AboutFragment : PreferenceFragmentCompat() {
override fun onPreferenceTreeClick(preference: Preference?): Boolean { override fun onPreferenceTreeClick(preference: Preference?): Boolean {
when (preference?.key) { when (preference?.key) {
"contributors" -> openIntent(Intent.ACTION_VIEW, getString(R.string.this_github_url)) "contributors" -> openIntent(Intent.ACTION_VIEW, getString(R.string.contributors_url))
"update_log" -> UpdateLog().show(childFragmentManager, "update_log") "update_log" -> UpdateLog().show(childFragmentManager, "update_log")
"check_update" -> openIntent(Intent.ACTION_VIEW, getString(R.string.latest_release_url)) "check_update" -> openIntent(Intent.ACTION_VIEW, getString(R.string.latest_release_url))
"mail" -> openIntent(Intent.ACTION_SENDTO, "mailto:kunfei.ge@gmail.com") "mail" -> openIntent(Intent.ACTION_SENDTO, "mailto:kunfei.ge@gmail.com")

@ -20,7 +20,7 @@
<string name="source_rule_url">https://gitee.com/alanskycn/yuedu/blob/master/Rule/README.md</string> <string name="source_rule_url">https://gitee.com/alanskycn/yuedu/blob/master/Rule/README.md</string>
<string name="this_github_url">https://github.com/gedoor/legado</string> <string name="this_github_url">https://github.com/gedoor/legado</string>
<string name="contributors">https://github.com/gedoor/legado/graphs/contributors</string> <string name="contributors_url">https://github.com/gedoor/legado/graphs/contributors</string>
<string name="disclaimer_url">https://gedoor.github.io/MyBookshelf/disclaimer.html</string> <string name="disclaimer_url">https://gedoor.github.io/MyBookshelf/disclaimer.html</string>
<string name="home_page_url">https://gedoor.github.io/MyBookshelf/</string> <string name="home_page_url">https://gedoor.github.io/MyBookshelf/</string>
<string name="latest_release_url">https://github.com/gedoor/legado/releases/latest</string> <string name="latest_release_url">https://github.com/gedoor/legado/releases/latest</string>

Loading…
Cancel
Save