Update SettingsFragment.kt

This commit is contained in:
LagradOst 2021-11-04 11:42:51 +01:00 committed by GitHub
parent 650522993c
commit a1985a10b1
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -242,6 +242,8 @@ class SettingsFragment : PreferenceFragmentCompat() {
settingsManager.edit().putString(getString(R.string.download_path_pref), dirs[it]).apply()
}
}
return@setOnPreferenceClickListener true
}
if (preferedMediaTypePreference != null) {
preferedMediaTypePreference.setOnPreferenceClickListener {
@ -457,4 +459,4 @@ class SettingsFragment : PreferenceFragmentCompat() {
}
return super.onPreferenceTreeClick(preference)
}
}
}