diff --git a/AndroidManifest.xml b/AndroidManifest.xml index b94ff8aa..f125c430 100644 --- a/AndroidManifest.xml +++ b/AndroidManifest.xml @@ -1,8 +1,8 @@ + android:versionCode="11" + android:versionName="0.1.10"> diff --git a/src/org/fox/ttrss/MainActivity.java b/src/org/fox/ttrss/MainActivity.java index b1c2b362..6212f2e4 100644 --- a/src/org/fox/ttrss/MainActivity.java +++ b/src/org/fox/ttrss/MainActivity.java @@ -115,8 +115,8 @@ public class MainActivity extends FragmentActivity implements FeedsFragment.OnFe Display display = getWindowManager().getDefaultDisplay(); int orientation = display.getOrientation(); - int minWidth = orientation == 0 ? 1024 : 600; - int minHeight = orientation == 0 ? 600 : 1024; + int minWidth = orientation % 2 == 0 ? 1024 : 600; + int minHeight = orientation % 2 == 0 ? 600 : 1024; if (display.getWidth() > minWidth && display.getHeight() >= minHeight) { m_smallScreenMode = false;