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

@@ -79,6 +79,8 @@ public class FragmentOptionsSynchronize extends FragmentBase implements SharedPr
swUnseen = view.findViewById(R.id.swUnseen);
swFlagged = view.findViewById(R.id.swFlagged);
setOptions();
// Wire controls
final SharedPreferences prefs = PreferenceManager.getDefaultSharedPreferences(getContext());
@@ -173,7 +175,6 @@ public class FragmentOptionsSynchronize extends FragmentBase implements SharedPr
}
});
setOptions();
PreferenceManager.getDefaultSharedPreferences(getContext()).registerOnSharedPreferenceChangeListener(this);
return view;