Fixed 3 column scrim

pull/194/head
M66B 4 years ago
parent 5831f51ed0
commit 6ef651c934

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

Loading…
Cancel
Save