diff --git a/AndroidManifest.xml b/AndroidManifest.xml index 73ef10ea..b140ace3 100644 --- a/AndroidManifest.xml +++ b/AndroidManifest.xml @@ -1,8 +1,8 @@ + android:versionCode="230" + android:versionName="1.34" > 0) { m_activity.toggleArticlesUnread(tmp); diff --git a/src/org/fox/ttrss/OnlineActivity.java b/src/org/fox/ttrss/OnlineActivity.java index 1169c9c9..c082e797 100644 --- a/src/org/fox/ttrss/OnlineActivity.java +++ b/src/org/fox/ttrss/OnlineActivity.java @@ -999,10 +999,13 @@ public class OnlineActivity extends CommonActivity { ArticleList articles = hf.getAllArticles(); ArticleList tmp = new ArticleList(); for (Article a : articles) { - a.unread = false; - tmp.add(a); if (article.id == a.id) break; + + if (a.unread) { + a.unread = false; + tmp.add(a); + } } if (tmp.size() > 0) { toggleArticlesUnread(tmp);