Expanded/pinned correction

This commit is contained in:
M66B 2021-08-16 11:45:44 +02:00
parent 6dcf5c64d3
commit 4c6c72afd9
1 changed files with 4 additions and 0 deletions

View File

@ -196,6 +196,10 @@ public class ActivityView extends ActivityBilling implements FragmentManager.OnB
nav_pinned = getDrawerPinned();
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();
boolean portrait2 = prefs.getBoolean("portrait2", false);
boolean portrait2c = prefs.getBoolean("portrait2c", false);