From 095721c7044dfa6250efa54dfc1bb319782fe268 Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Thu, 6 Nov 2014 18:17:21 +0300 Subject: [PATCH] disable unread only on special category --- org.fox.ttrss/src/main/java/org/fox/ttrss/FeedsFragment.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/org.fox.ttrss/src/main/java/org/fox/ttrss/FeedsFragment.java b/org.fox.ttrss/src/main/java/org/fox/ttrss/FeedsFragment.java index a5b0a37a..83fbf944 100644 --- a/org.fox.ttrss/src/main/java/org/fox/ttrss/FeedsFragment.java +++ b/org.fox.ttrss/src/main/java/org/fox/ttrss/FeedsFragment.java @@ -404,7 +404,7 @@ public class FeedsFragment extends Fragment implements OnItemClickListener, OnSh final int catId = (m_activeCategory != null) ? m_activeCategory.id : -4; 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);