1
0
Fork 0
mirror of https://github.com/M66B/FairEmail.git synced 2024-12-22 07:42:52 +00:00

Edge-to-edge: experiment

This commit is contained in:
M66B 2024-10-27 19:35:32 +01:00
parent c06b9e09e0
commit 7a0804e5aa

View file

@ -413,7 +413,7 @@ public class FragmentOptionsDisplay extends FragmentBase implements SharedPrefer
// Wire controls
final SharedPreferences prefs = PreferenceManager.getDefaultSharedPreferences(getContext());
boolean debug = prefs.getBoolean("debug", false);
boolean experiments = prefs.getBoolean("experiments", false);
ibHelp.setOnClickListener(new View.OnClickListener() {
@Override
@ -647,7 +647,7 @@ public class FragmentOptionsDisplay extends FragmentBase implements SharedPrefer
}
});
//swEdgeToEdge.setVisibility(debug || BuildConfig.DEBUG ? View.VISIBLE : View.GONE);
swEdgeToEdge.setVisibility(experiments ? View.VISIBLE : View.GONE);
swEdgeToEdge.setOnCheckedChangeListener(new CompoundButton.OnCheckedChangeListener() {
@Override
public void onCheckedChanged(CompoundButton compoundButton, boolean checked) {