This commit is contained in:
M66B
2019-05-06 15:30:30 +02:00
parent fdcb6c241e
commit a3588ac89c
6 changed files with 12 additions and 6 deletions

View File

@@ -84,6 +84,8 @@ public class FragmentOptionsMisc extends FragmentBase implements SharedPreferenc
grpSearchLocal = view.findViewById(R.id.grpSearchLocal);
setOptions();
// Wire controls
final SharedPreferences prefs = PreferenceManager.getDefaultSharedPreferences(getContext());
@@ -166,7 +168,6 @@ public class FragmentOptionsMisc extends FragmentBase implements SharedPreferenc
setLastCleanup(prefs.getLong("last_cleanup", -1));
setOptions();
PreferenceManager.getDefaultSharedPreferences(getContext()).registerOnSharedPreferenceChangeListener(this);
return view;