mirror of https://github.com/M66B/FairEmail.git
Default compact view on small and normal screens
This commit is contained in:
parent
800f16682d
commit
a1ea433f10
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue