From 18eebe9b4eac4ac15d7e5ea552e614dc5a450be7 Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Tue, 16 Apr 2013 13:04:28 +0400 Subject: resize own icons, add share icon --- src/org/fox/ttrss/OnlineActivity.java | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'src') diff --git a/src/org/fox/ttrss/OnlineActivity.java b/src/org/fox/ttrss/OnlineActivity.java index 874a6a13..d398843b 100644 --- a/src/org/fox/ttrss/OnlineActivity.java +++ b/src/org/fox/ttrss/OnlineActivity.java @@ -971,7 +971,7 @@ public class OnlineActivity extends CommonActivity { a.unread = true; saveArticleUnread(a); if (hf != null) hf.notifyUpdated(); - if (ap != null) ap.notifyUpdated(); + //if (ap != null) ap.notifyUpdated(); } return true; case R.id.set_labels: @@ -1194,7 +1194,11 @@ public class OnlineActivity extends CommonActivity { @SuppressWarnings({ "unchecked", "serial" }) public void saveArticleUnread(final Article article) { - ApiRequest req = new ApiRequest(getApplicationContext()); + ApiRequest req = new ApiRequest(getApplicationContext()) { + protected void onPostExecute(JsonElement result) { + toast(R.string.article_set_unread); + } + }; HashMap map = new HashMap() { { -- cgit v1.2.3