|
|
@ -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) |
|
|
|