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?) {
preference?.apply {
onPreferenceChangeListener = this@BackupConfigFragment
onPreferenceChange(
this,
context.getPrefString(key)
)
onPreferenceChange(this, context.getPrefString(key))
}
}
addPreferencesFromResource(R.xml.pref_config_backup)

Loading…
Cancel
Save