fix hiding categories panel when browsing category articles in tablet

mode
This commit is contained in:
Andrew Dolgov 2011-11-29 14:34:54 +03:00
parent 44f1d8a2d3
commit 823ea28ff5

View File

@ -923,7 +923,7 @@ public class MainActivity extends FragmentActivity implements FeedsFragment.OnFe
ft.replace(R.id.feeds_fragment, frag); ft.replace(R.id.feeds_fragment, frag);
ft.commit(); ft.commit();
} else { } else {
findViewById(R.id.cats_fragment).setVisibility(View.GONE); if (m_smallScreenMode) findViewById(R.id.cats_fragment).setVisibility(View.GONE);
findViewById(R.id.headlines_fragment).setVisibility(View.VISIBLE); findViewById(R.id.headlines_fragment).setVisibility(View.VISIBLE);
m_activeFeed = new Feed(cat.id, cat.title, true); m_activeFeed = new Feed(cat.id, cat.title, true);