diff --git a/app/src/main/java/io/legado/app/ui/config/OtherConfigFragment.kt b/app/src/main/java/io/legado/app/ui/config/OtherConfigFragment.kt index 2898f5f17..07a5a641d 100644 --- a/app/src/main/java/io/legado/app/ui/config/OtherConfigFragment.kt +++ b/app/src/main/java/io/legado/app/ui/config/OtherConfigFragment.kt @@ -63,7 +63,9 @@ class OtherConfigFragment : PreferenceFragmentCompat(), .setMinValue(1) .setValue(requireContext().threadCount) .show { - putPrefInt(PreferKey.threadCount, it) + requireContext().putPrefInt(PreferKey.threadCount, it) + findPreference(PreferKey.threadCount)?.summary = + getString(R.string.threads_num, it.toString()) } PreferKey.downloadPath -> FileChooserDialog.show( childFragmentManager,