Commit 2a8940fa authored by Daniel Wolf's avatar Daniel Wolf
Browse files

Use a null-safe operator because the fragment could be detached at this point

parent 13f91fcc
......@@ -49,7 +49,7 @@ class SettingsFragment : PreferenceFragmentCompat() {
private var werePreferencesAdded = false
private var preferenceListener: SharedPreferences.OnSharedPreferenceChangeListener =
SharedPreferences.OnSharedPreferenceChangeListener { _, key ->
override fun onCreatePreferences(savedInstanceState: Bundle?, rootKey: String?) {
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment