From a4d38f3227b939787a0eddc2c58e5cd4b8cc6a83 Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Wed, 27 Nov 2013 19:09:21 +0400 Subject: [PATCH] block another invocation of setlabels on api 7 --- src/org/fox/ttrss/HeadlinesFragment.java | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/org/fox/ttrss/HeadlinesFragment.java b/src/org/fox/ttrss/HeadlinesFragment.java index 13429ec0..e4495081 100644 --- a/src/org/fox/ttrss/HeadlinesFragment.java +++ b/src/org/fox/ttrss/HeadlinesFragment.java @@ -108,7 +108,11 @@ public class HeadlinesFragment extends Fragment implements OnItemClickListener, Article article = getArticleAtPosition(info.position); if (article != null) { - m_activity.editArticleLabels(article); + if (m_activity.getApiLevel() != 7) { + m_activity.editArticleLabels(article); + } else { + m_activity.toast(R.string.server_function_not_available); + } } } return true;