mirror of
https://github.com/M66B/FairEmail.git
synced 2024-12-22 07:42:52 +00:00
Edge-to-edge is not for production yet
This commit is contained in:
parent
970f612b3c
commit
e94bdba820
1 changed files with 2 additions and 2 deletions
|
@ -413,7 +413,7 @@ public class FragmentOptionsDisplay extends FragmentBase implements SharedPrefer
|
|||
// Wire controls
|
||||
|
||||
final SharedPreferences prefs = PreferenceManager.getDefaultSharedPreferences(getContext());
|
||||
boolean experiments = prefs.getBoolean("experiments", false);
|
||||
boolean debug = prefs.getBoolean("debug", false);
|
||||
|
||||
ibHelp.setOnClickListener(new View.OnClickListener() {
|
||||
@Override
|
||||
|
@ -647,7 +647,7 @@ public class FragmentOptionsDisplay extends FragmentBase implements SharedPrefer
|
|||
}
|
||||
});
|
||||
|
||||
swEdgeToEdge.setVisibility(experiments ? View.VISIBLE : View.GONE);
|
||||
swEdgeToEdge.setVisibility(debug || BuildConfig.DEBUG ? View.VISIBLE : View.GONE);
|
||||
swEdgeToEdge.setOnCheckedChangeListener(new CompoundButton.OnCheckedChangeListener() {
|
||||
@Override
|
||||
public void onCheckedChanged(CompoundButton compoundButton, boolean checked) {
|
||||
|
|
Loading…
Reference in a new issue