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 FragmentOptionsDisplay extends FragmentBase implements SharedPrefer
swImages = view.findViewById(R.id.swImages);
swActionbar = view.findViewById(R.id.swActionbar);
setOptions();
// Wire controls
final SharedPreferences prefs = PreferenceManager.getDefaultSharedPreferences(getContext());
@@ -202,7 +204,6 @@ public class FragmentOptionsDisplay extends FragmentBase implements SharedPrefer
}
});
setOptions();
PreferenceManager.getDefaultSharedPreferences(getContext()).registerOnSharedPreferenceChangeListener(this);
return view;