pull/35/head^2
kunfei 5 years ago
parent 08dcf5de24
commit be95698ea7
  1. 2
      app/src/main/java/io/legado/app/ui/about/AboutFragment.kt
  2. 2
      app/src/main/res/values/pref_key_value.xml

@ -24,7 +24,7 @@ class AboutFragment : PreferenceFragmentCompat() {
override fun onPreferenceTreeClick(preference: Preference?): Boolean {
when (preference?.key) {
"mail" -> openIntent(Intent.ACTION_SENDTO, "mailto:kunfei.ge@gmail.com")
"gitHub" -> openIntent(Intent.ACTION_VIEW, getString(R.string.this_github_url))
"git" -> openIntent(Intent.ACTION_VIEW, getString(R.string.this_github_url))
}
return super.onPreferenceTreeClick(preference)
}

@ -19,7 +19,7 @@
<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="this_github_url">https://github.com/gedoor/MyBookshelf</string>
<string name="this_github_url">https://github.com/gedoor/legado</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="latest_release_url">https://github.com/gedoor/MyBookshelf/releases/latest</string>

Loading…
Cancel
Save