Fix for Bug 714 "Mark above as read"
This commit is contained in:
parent
84cfc9a9fe
commit
1a39cb0f50
@ -212,12 +212,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);
|
||||
|
Loading…
Reference in New Issue
Block a user