fix load more headlines menu item being shown while in feedlist

This commit is contained in:
Andrew Dolgov 2011-11-26 10:15:37 +03:00
parent 673b31f274
commit 862ab765b9

View File

@ -227,6 +227,9 @@ public class MainActivity extends FragmentActivity implements FeedsFragment.OnFe
} else if (m_activeFeed != null) { } else if (m_activeFeed != null) {
findViewById(R.id.headlines_fragment).setVisibility(View.GONE); findViewById(R.id.headlines_fragment).setVisibility(View.GONE);
findViewById(R.id.feeds_fragment).setVisibility(View.VISIBLE); findViewById(R.id.feeds_fragment).setVisibility(View.VISIBLE);
m_activeFeed = null;
initMainMenu();
} else { } else {
finish(); finish();
} }