Expanded/pinned correction

pull/204/head
M66B 3 years ago
parent 6dcf5c64d3
commit 4c6c72afd9

@ -196,6 +196,10 @@ public class ActivityView extends ActivityBilling implements FragmentManager.OnB
nav_pinned = getDrawerPinned(); nav_pinned = getDrawerPinned();
nav_options = prefs.getBoolean("nav_options", true); nav_options = prefs.getBoolean("nav_options", true);
// Fix imported settings from other device
if (nav_expanded && nav_pinned && !canExpandAndPin())
nav_pinned = false;
Configuration config = getResources().getConfiguration(); Configuration config = getResources().getConfiguration();
boolean portrait2 = prefs.getBoolean("portrait2", false); boolean portrait2 = prefs.getBoolean("portrait2", false);
boolean portrait2c = prefs.getBoolean("portrait2c", false); boolean portrait2c = prefs.getBoolean("portrait2c", false);

Loading…
Cancel
Save