Default compact folders

This commit is contained in:
M66B
2022-02-13 22:16:39 +01:00
parent 9d2879a03c
commit 116fadfe88
3 changed files with 7 additions and 2 deletions

View File

@@ -298,8 +298,10 @@ public class ActivityMain extends ActivityBase implements FragmentManager.OnBack
Configuration config = getResources().getConfiguration();
// Default enable compact mode for smaller screens
if (!config.isLayoutSizeAtLeast(Configuration.SCREENLAYOUT_SIZE_LARGE))
if (!config.isLayoutSizeAtLeast(Configuration.SCREENLAYOUT_SIZE_LARGE)) {
editor.putBoolean("compact", true);
//editor.putBoolean("compact_folders", true);
}
// Default disable landscape columns for small screens
if (!config.isLayoutSizeAtLeast(Configuration.SCREENLAYOUT_SIZE_NORMAL)) {