From 82bf797996816bc9a9a1fd6d0f5c66bf3981ef29 Mon Sep 17 00:00:00 2001 From: kunfei Date: Thu, 23 Jan 2020 20:52:28 +0800 Subject: [PATCH] up --- .../main/java/io/legado/app/ui/config/OtherConfigFragment.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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,