Enable 3-col mode on large screens

This commit is contained in:
M66B
2020-01-28 12:43:56 +01:00
parent cb5e9827c4
commit f03c4d2ba1
5 changed files with 10 additions and 5 deletions

View File

@@ -226,6 +226,10 @@ public class ApplicationEx extends Application {
editor.putBoolean("resize_attachments", autoresize);
editor.remove("autoresize");
}
} else if (version < 930) {
boolean large = context.getResources().getConfiguration()
.isLayoutSizeAtLeast(Configuration.SCREENLAYOUT_SIZE_LARGE);
editor.putBoolean("landscape3", large);
}
if (BuildConfig.DEBUG && false) {