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

@@ -603,6 +603,10 @@ public class ApplicationEx extends Application
} else if (version < 1855) {
if (!prefs.contains("preview_lines"))
editor.putInt("preview_lines", 2);
} else if (version < 1874) {
boolean cards = prefs.getBoolean("cards", true);
if (!cards)
editor.remove("view_padding");
}
if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.O && !BuildConfig.DEBUG)