fix for opening category in proper mode from feedsfragment

This commit is contained in:
Andrew Dolgov 2012-09-20 09:14:34 +04:00
parent 786422a027
commit 349dc9d797

View File

@ -259,7 +259,14 @@ public class FeedsFragment extends Fragment implements OnItemClickListener, OnSh
cat.id = feed.id;
cat.title = feed.title;
m_activity.onCatSelected(cat);
if ("ARTICLES".equals(m_prefs.getString("default_view_mode", "HEADLINES")) &&
m_prefs.getBoolean("browse_cats_like_feeds", false)) {
m_activity.openFeedArticles(feed);
} else {
m_activity.onCatSelected(cat);
}
} else {
if ("ARTICLES".equals(m_prefs.getString("default_view_mode", "HEADLINES"))) {
m_activity.openFeedArticles(feed);