disable unread only on special category

This commit is contained in:
Andrew Dolgov 2014-11-06 18:17:21 +03:00
parent 60dc13ac96
commit 095721c704

View File

@ -404,7 +404,7 @@ public class FeedsFragment extends Fragment implements OnItemClickListener, OnSh
final int catId = (m_activeCategory != null) ? m_activeCategory.id : -4; final int catId = (m_activeCategory != null) ? m_activeCategory.id : -4;
final String sessionId = m_activity.getSessionId(); final String sessionId = m_activity.getSessionId();
final boolean unreadOnly = m_activity.getUnreadOnly(); final boolean unreadOnly = m_activity.getUnreadOnly() && (m_activeCategory == null || m_activeCategory.id != -1);
FeedsRequest req = new FeedsRequest(getActivity().getApplicationContext(), catId); FeedsRequest req = new FeedsRequest(getActivity().getApplicationContext(), catId);