pull/995/head 3.21.051618
gedoor 4 years ago
parent 56966c6d87
commit 7bb6ef0b99
  1. 5
      app/src/main/java/io/legado/app/ui/config/OtherConfigFragment.kt

@ -157,6 +157,11 @@ class OtherConfigFragment : BasePreferenceFragment(),
getString(R.string.pre_download_s, value)
PreferKey.threadCount -> preference.summary = getString(R.string.threads_num, value)
PreferKey.webPort -> preference.summary = getString(R.string.web_port_summary, value)
PreferKey.defaultCover -> preference.summary = if (value.isNullOrBlank()) {
getString(R.string.select_image)
} else {
value
}
else -> if (preference is ListPreference) {
val index = preference.findIndexOfValue(value)
// Set the summary to reflect the new value.

Loading…
Cancel
Save