Enable 3-col mode on large screens

This commit is contained in:
M66B
2020-01-28 12:43:56 +01:00
parent cb5e9827c4
commit f03c4d2ba1
5 changed files with 10 additions and 5 deletions

View File

@@ -52,7 +52,7 @@ public class DrawerLayoutEx extends DrawerLayout {
SharedPreferences prefs = PreferenceManager.getDefaultSharedPreferences(getContext());
boolean normal = config.isLayoutSizeAtLeast(Configuration.SCREENLAYOUT_SIZE_NORMAL);
boolean landscape = prefs.getBoolean("landscape", true);
boolean landscape3 = prefs.getBoolean("landscape3", true);
boolean landscape3 = prefs.getBoolean("landscape3", false);
if (normal && landscape && landscape3 &&
config.orientation == Configuration.ORIENTATION_LANDSCAPE) {