don't load video thumbs if flavor images are disabled
This commit is contained in:
parent
8c177bdbac
commit
380237e441
@ -1035,7 +1035,7 @@ public class HeadlinesFragment extends Fragment implements OnItemClickListener,
|
||||
|
||||
boolean videoFound = false;
|
||||
|
||||
if (article.articleDoc != null && holder.flavorVideoPlayView != null) {
|
||||
if (showFlavorImage && article.articleDoc != null && holder.flavorVideoPlayView != null) {
|
||||
Element video = article.articleDoc.select("video").first();
|
||||
Element ytframe = article.articleDoc.select("iframe[src*=youtube.com/embed/]").first();
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user