From 91dfb5a15b729684b4929c9873a0bdb1e8581203 Mon Sep 17 00:00:00 2001 From: kunfei Date: Sun, 13 Oct 2019 15:45:08 +0800 Subject: [PATCH] up --- app/src/main/java/io/legado/app/ui/config/ConfigFragment.kt | 2 ++ 1 file changed, 2 insertions(+) diff --git a/app/src/main/java/io/legado/app/ui/config/ConfigFragment.kt b/app/src/main/java/io/legado/app/ui/config/ConfigFragment.kt index faf414e9c..5269ac291 100644 --- a/app/src/main/java/io/legado/app/ui/config/ConfigFragment.kt +++ b/app/src/main/java/io/legado/app/ui/config/ConfigFragment.kt @@ -15,6 +15,7 @@ import io.legado.app.lib.theme.ATH import io.legado.app.receiver.SharedReceiverActivity import io.legado.app.utils.LogUtils import io.legado.app.utils.getPrefString +import io.legado.app.utils.putPrefBoolean class ConfigFragment : PreferenceFragmentCompat(), Preference.OnPreferenceChangeListener, @@ -27,6 +28,7 @@ class ConfigFragment : PreferenceFragmentCompat(), Preference.OnPreferenceChange ) override fun onCreatePreferences(savedInstanceState: Bundle?, rootKey: String?) { + putPrefBoolean("process_text", isProcessTextEnabled()) addPreferencesFromResource(R.xml.pref_config) bindPreferenceSummaryToValue(findPreference("downloadPath")) }