From 1ce4d4a60aa54c05edf2e1e1370652a3036a7f67 Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Tue, 19 Jun 2012 23:49:45 +0400 Subject: [PATCH] fix category back navigation --- src/org/fox/ttrss/MainActivity.java | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/org/fox/ttrss/MainActivity.java b/src/org/fox/ttrss/MainActivity.java index fcac0351..8d0b3261 100644 --- a/src/org/fox/ttrss/MainActivity.java +++ b/src/org/fox/ttrss/MainActivity.java @@ -714,7 +714,11 @@ public class MainActivity extends FragmentActivity implements OnlineServices { m_activeCategory = null; FragmentTransaction ft = getSupportFragmentManager().beginTransaction(); - ft.replace(R.id.fragment_container, new FeedCategoriesFragment(), FRAG_CATS); + 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();