|
|
@ -142,7 +142,7 @@ public class ActivityMain extends ActivityBase implements FragmentManager.OnBack
|
|
|
|
start.execute(this, new Bundle(), "main:accounts");
|
|
|
|
start.execute(this, new Bundle(), "main:accounts");
|
|
|
|
} else {
|
|
|
|
} else {
|
|
|
|
// Enable compact view on small screens
|
|
|
|
// Enable compact view on small screens
|
|
|
|
if (!getResources().getConfiguration().isLayoutSizeAtLeast(Configuration.SCREENLAYOUT_SIZE_NORMAL))
|
|
|
|
if (!getResources().getConfiguration().isLayoutSizeAtLeast(Configuration.SCREENLAYOUT_SIZE_LARGE))
|
|
|
|
prefs.edit().putBoolean("compact", true).apply();
|
|
|
|
prefs.edit().putBoolean("compact", true).apply();
|
|
|
|
|
|
|
|
|
|
|
|
setTheme(R.style.AppThemeLight);
|
|
|
|
setTheme(R.style.AppThemeLight);
|
|
|
|