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

@ -23,6 +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))
"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")

@ -18,8 +18,9 @@
<string name="pv_user_agent">Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/62.0.2357.134 Safari/537.36</string> <string name="pv_user_agent">Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/62.0.2357.134 Safari/537.36</string>
<string name="source_rule_url">https://gedoor.github.io/MyBookshelf/sourcerule.html</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="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>

@ -3,9 +3,9 @@
xmlns:app="http://schemas.android.com/apk/res-auto"> xmlns:app="http://schemas.android.com/apk/res-auto">
<androidx.preference.Preference <androidx.preference.Preference
android:key="isNightTheme" android:key="contributors"
android:title="开发人员" android:title="开发人员"
android:summary="gedoor, Invinciblelee, atbest, Antecer, mabDc, Ca1e" android:summary="gedoor,Invinciblelee等, 详情请在github中查看"
app:iconSpaceReserved="false" /> app:iconSpaceReserved="false" />
<androidx.preference.Preference <androidx.preference.Preference

Loading…
Cancel
Save