fix previously broken default browsing for special categories

This commit is contained in:
Andrew Dolgov 2014-11-06 20:18:14 +04:00
parent 4f98413c39
commit 999966d081

View File

@ -516,8 +516,12 @@ public class FeedCategoriesFragment extends Fragment implements OnItemClickListe
if (list != null) { if (list != null) {
FeedCategory cat = (FeedCategory)list.getItemAtPosition(position); FeedCategory cat = (FeedCategory)list.getItemAtPosition(position);
m_activity.onCatSelected(cat); if (cat.id < 0) {
m_activity.onCatSelected(cat, false);
} else {
m_activity.onCatSelected(cat);
}
m_selectedCat = cat; m_selectedCat = cat;