Revert "Removed limitation"

This reverts commit 92a49dfbcc.
This commit is contained in:
M66B
2021-12-03 18:25:33 +01:00
parent 92a49dfbcc
commit 0b723b39c8
3 changed files with 5 additions and 1 deletions

View File

@@ -900,6 +900,7 @@ public class FragmentOptionsDisplay extends FragmentBase implements SharedPrefer
@Override
public void onCheckedChanged(CompoundButton compoundButton, boolean checked) {
prefs.edit().putBoolean("overview_mode", checked).apply();
swOverrideWidth.setEnabled(!checked);
}
});
@@ -1223,6 +1224,7 @@ public class FragmentOptionsDisplay extends FragmentBase implements SharedPrefer
swOverviewMode.setChecked(prefs.getBoolean("overview_mode", false));
swOverrideWidth.setChecked(prefs.getBoolean("override_width", false));
swOverrideWidth.setEnabled(!swOverviewMode.isChecked());
swContrast.setChecked(prefs.getBoolean("contrast", false));
swMonospaced.setChecked(prefs.getBoolean("monospaced", false));