when clicking on labels or special feeds default to showing contents as
feeds rather than headlines or articles because of previous behavior making no sense
This commit is contained in:
parent
c12eff5369
commit
cdf9e20fc7
@ -421,6 +421,9 @@ public class FeedCategoriesFragment extends Fragment implements OnItemClickListe
|
||||
if (list != null) {
|
||||
FeedCategory cat = (FeedCategory)list.getItemAtPosition(position);
|
||||
|
||||
if (cat.id < 0) {
|
||||
m_activity.onCatSelected(cat, false);
|
||||
} else {
|
||||
if ("ARTICLES".equals(m_prefs.getString("default_view_mode", "HEADLINES")) &&
|
||||
m_prefs.getBoolean("browse_cats_like_feeds", false)) {
|
||||
|
||||
@ -429,6 +432,7 @@ public class FeedCategoriesFragment extends Fragment implements OnItemClickListe
|
||||
} else {
|
||||
m_activity.onCatSelected(cat);
|
||||
}
|
||||
}
|
||||
|
||||
if (!m_activity.isSmallScreen())
|
||||
m_selectedCat = cat;
|
||||
|
Loading…
Reference in New Issue
Block a user