Default compact view on small and normal screens

This commit is contained in:
M66B 2019-08-11 18:23:32 +02:00
parent 800f16682d
commit a1ea433f10
1 changed files with 1 additions and 1 deletions

View File

@ -142,7 +142,7 @@ public class ActivityMain extends ActivityBase implements FragmentManager.OnBack
start.execute(this, new Bundle(), "main:accounts");
} else {
// Enable compact view on small screens
if (!getResources().getConfiguration().isLayoutSizeAtLeast(Configuration.SCREENLAYOUT_SIZE_NORMAL))
if (!getResources().getConfiguration().isLayoutSizeAtLeast(Configuration.SCREENLAYOUT_SIZE_LARGE))
prefs.edit().putBoolean("compact", true).apply();
setTheme(R.style.AppThemeLight);