pull/84/head
kunfei 5 years ago
parent 334c5a0bfb
commit 1503fadbee
  1. 5
      app/src/main/java/io/legado/app/ui/config/BackupConfigFragment.kt

@ -47,10 +47,7 @@ class BackupConfigFragment : PreferenceFragmentCompat(),
fun bindPreferenceSummaryToValue(preference: Preference?) { fun bindPreferenceSummaryToValue(preference: Preference?) {
preference?.apply { preference?.apply {
onPreferenceChangeListener = this@BackupConfigFragment onPreferenceChangeListener = this@BackupConfigFragment
onPreferenceChange( onPreferenceChange(this, context.getPrefString(key))
this,
context.getPrefString(key)
)
} }
} }
addPreferencesFromResource(R.xml.pref_config_backup) addPreferencesFromResource(R.xml.pref_config_backup)

Loading…
Cancel
Save