mirror of https://github.com/M66B/FairEmail.git
Fixed 3 column scrim
This commit is contained in:
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…
Reference in New Issue