Merge pull request #54 from tuxmobil/master

Fix for Bug 714 "Mark above as read"
This commit is contained in:
Andrew Dolgov 2013-10-15 02:41:11 -07:00
commit f3e00065ea

View File

@ -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);