Fixed 3 column scrim

This commit is contained in:
M66B 2021-02-13 07:54:52 +01:00
parent 5831f51ed0
commit 6ef651c934
1 changed files with 1 additions and 1 deletions

View File

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