From 033dec883ac016270b4df749c091b64f0e9b3518 Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Wed, 27 Nov 2013 18:49:25 +0400 Subject: [PATCH] block setlabel support on API7 --- src/org/fox/ttrss/OnlineActivity.java | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/src/org/fox/ttrss/OnlineActivity.java b/src/org/fox/ttrss/OnlineActivity.java index afaa2535..d68c3642 100644 --- a/src/org/fox/ttrss/OnlineActivity.java +++ b/src/org/fox/ttrss/OnlineActivity.java @@ -1001,7 +1001,12 @@ public class OnlineActivity extends CommonActivity { return true; case R.id.set_labels: if (ap != null && ap.getSelectedArticle() != null) { - editArticleLabels(ap.getSelectedArticle()); + if (getApiLevel() != 7) { + editArticleLabels(ap.getSelectedArticle()); + } else { + toast("Sorry, this function is not available on your tt-rss version."); + } + } return true; case R.id.update_headlines: