mirror of
https://github.com/gedoor/legado.git
synced 2024-09-03 09:55:00 +08:00
优化
This commit is contained in:
parent
112f8482de
commit
68804b2c24
@ -92,8 +92,10 @@ class BackupConfigFragment : PreferenceFragmentCompat(),
|
||||
}
|
||||
|
||||
override fun onSharedPreferenceChanged(sharedPreferences: SharedPreferences?, key: String?) {
|
||||
key?.let {
|
||||
upPreferenceSummary(it, getPrefString(it))
|
||||
when (key) {
|
||||
PreferKey.webDavUrl, PreferKey.webDavAccount, PreferKey.webDavPassword, PreferKey.backupPath -> {
|
||||
upPreferenceSummary(key, getPrefString(key))
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user