Added padding option for tabular view

This commit is contained in:
M66B
2022-04-09 21:25:00 +02:00
parent 6ec556046d
commit 50ab0d0450
7 changed files with 27 additions and 8 deletions

View File

@@ -381,7 +381,10 @@ public class FragmentOptionsDisplay extends FragmentBase implements SharedPrefer
swCards.setOnCheckedChangeListener(new CompoundButton.OnCheckedChangeListener() {
@Override
public void onCheckedChanged(CompoundButton compoundButton, boolean checked) {
prefs.edit().putBoolean("cards", checked).apply();
prefs.edit()
.putBoolean("cards", checked)
.remove("view_padding")
.apply();
swBeige.setEnabled(checked);
swTabularBackground.setEnabled(!checked);
swShadow.setEnabled(checked);