fix category back navigation

This commit is contained in:
Andrew Dolgov 2012-06-19 23:49:45 +04:00
parent 78544f2451
commit 1ce4d4a60a

View File

@ -714,7 +714,11 @@ public class MainActivity extends FragmentActivity implements OnlineServices {
m_activeCategory = null;
FragmentTransaction ft = getSupportFragmentManager().beginTransaction();
if (m_smallScreenMode) {
ft.replace(R.id.fragment_container, new FeedCategoriesFragment(), FRAG_CATS);
} else {
ft.replace(R.id.feeds_fragment, new FeedCategoriesFragment(), FRAG_CATS);
}
ft.commit();
initMainMenu();