This commit is contained in:
kunfei
2023-03-14 17:45:19 +08:00
parent 21652c5e0a
commit 20a9fca6d6
2 changed files with 5 additions and 2 deletions
@@ -61,8 +61,10 @@ class AboutFragment : PreferenceFragmentCompat() {
override fun onPreferenceTreeClick(preference: Preference): Boolean {
when (preference.key) {
"contributors" -> openUrl(R.string.contributors_url)
"update_log" -> showMdFile(getString(R.string.update_log),"updateLog.md")
"contributors" -> if (!AppConst.isPlayChannel) {
openUrl(R.string.contributors_url)
}
"update_log" -> showMdFile(getString(R.string.update_log), "updateLog.md")
"check_update" -> checkUpdate()
"mail" -> requireContext().sendMail(getString(R.string.email))
"sourceRuleSummary" -> openUrl(R.string.source_rule_url)