From 62de61c5a0cbe3130ebce0ed81bce81928e9be8b Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Sun, 6 Sep 2015 16:31:36 +0300 Subject: [PATCH] fix flavor images appearing in wrong modes --- org.fox.ttrss/src/main/AndroidManifest.xml | 2 +- .../main/java/org/fox/ttrss/HeadlinesFragment.java | 12 ++---------- 2 files changed, 3 insertions(+), 11 deletions(-) diff --git a/org.fox.ttrss/src/main/AndroidManifest.xml b/org.fox.ttrss/src/main/AndroidManifest.xml index 8f8b98d9..f68bff2b 100755 --- a/org.fox.ttrss/src/main/AndroidManifest.xml +++ b/org.fox.ttrss/src/main/AndroidManifest.xml @@ -1,7 +1,7 @@ CommonActivity.EXCERPT_MAX_QUERY_LENGTH ? - articleContent.substring(0, CommonActivity.EXCERPT_MAX_QUERY_LENGTH) : articleContent; - - if (article.articleDoc == null) - article.articleDoc = Jsoup.parse(articleContentReduced); - // block footer clicks to make button/selection clicking easier if (holder.headlineFooter != null) { holder.headlineFooter.setOnClickListener(new OnClickListener() { @@ -1108,7 +1100,7 @@ public class HeadlinesFragment extends Fragment implements OnItemClickListener, } }); - if (article.flavorImageUri != null && holder.flavorImageView != null) { + if (showFlavorImage && article.flavorImageUri != null && holder.flavorImageView != null) { if (!article.flavorImageUri.equals(holder.flavorImageView.getTag())) {