|
|
@ -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") |
|
|
|