diff --git a/app/src/main/java/io/legado/app/ui/config/BackupConfigFragment.kt b/app/src/main/java/io/legado/app/ui/config/BackupConfigFragment.kt index d403324fe..10c787bac 100644 --- a/app/src/main/java/io/legado/app/ui/config/BackupConfigFragment.kt +++ b/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)