From c880a91ca072a0fc402093205ebd82432a88c54b Mon Sep 17 00:00:00 2001 From: gedoor Date: Sun, 9 Jun 2019 13:17:02 +0800 Subject: [PATCH] up --- .../main/java/io/legado/app/ui/config/WebDavConfigFragment.kt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/src/main/java/io/legado/app/ui/config/WebDavConfigFragment.kt b/app/src/main/java/io/legado/app/ui/config/WebDavConfigFragment.kt index 01138e54f..d83e8b519 100644 --- a/app/src/main/java/io/legado/app/ui/config/WebDavConfigFragment.kt +++ b/app/src/main/java/io/legado/app/ui/config/WebDavConfigFragment.kt @@ -1,7 +1,6 @@ package io.legado.app.ui.config import android.os.Bundle -import androidx.preference.EditTextPreference import androidx.preference.ListPreference import androidx.preference.Preference import androidx.preference.PreferenceFragmentCompat @@ -12,7 +11,8 @@ class WebDavConfigFragment : PreferenceFragmentCompat(), Preference.OnPreference override fun onCreatePreferences(savedInstanceState: Bundle?, rootKey: String?) { addPreferencesFromResource(R.xml.pref_config_web_dav) - bindPreferenceSummaryToValue(findPreference("web_dav_url")) + bindPreferenceSummaryToValue(findPreference("web_dav_url")) + bindPreferenceSummaryToValue(findPreference("web_dav_account")) } override fun onPreferenceChange(preference: Preference?, newValue: Any?): Boolean {