diff --git a/src/org/fox/ttrss/HeadlinesFragment.java b/src/org/fox/ttrss/HeadlinesFragment.java index 581f8f0f..0b5bc1ca 100644 --- a/src/org/fox/ttrss/HeadlinesFragment.java +++ b/src/org/fox/ttrss/HeadlinesFragment.java @@ -213,12 +213,12 @@ public class HeadlinesFragment extends Fragment implements OnItemClickListener, ArticleList tmp = new ArticleList(); for (Article a : articles) { if (a.unread) { - if (article.id == a.id) - break; a.unread = false; tmp.add(a); } + if (article.id == a.id) + break; } if (tmp.size() > 0) { m_activity.toggleArticlesUnread(tmp);