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 47e837ffe..2898f5f17 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,7 @@ class OtherConfigFragment : PreferenceFragmentCompat(), .setMinValue(1) .setValue(requireContext().threadCount) .show { - requireContext().putPrefInt(PreferKey.threadCount, it) + putPrefInt(PreferKey.threadCount, it) } PreferKey.downloadPath -> FileChooserDialog.show( childFragmentManager,