From 7154a1edb8062b99925ff2f4c7bb5683f2a8eb81 Mon Sep 17 00:00:00 2001 From: Prashant Khurana Date: Sun, 15 May 2016 22:20:28 -0400 Subject: [PATCH] Fix to hide uploader correctly --- .../java/org/schabi/newpipe/VideoInfoItemViewCreator.java | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/app/src/main/java/org/schabi/newpipe/VideoInfoItemViewCreator.java b/app/src/main/java/org/schabi/newpipe/VideoInfoItemViewCreator.java index baeaef813..c12b2745c 100644 --- a/app/src/main/java/org/schabi/newpipe/VideoInfoItemViewCreator.java +++ b/app/src/main/java/org/schabi/newpipe/VideoInfoItemViewCreator.java @@ -6,12 +6,12 @@ import android.view.ViewGroup; import android.widget.ImageView; import android.widget.TextView; -import org.schabi.newpipe.extractor.AbstractVideoInfo; -import org.schabi.newpipe.extractor.StreamPreviewInfo; - import com.nostra13.universalimageloader.core.DisplayImageOptions; import com.nostra13.universalimageloader.core.ImageLoader; +import org.schabi.newpipe.extractor.AbstractVideoInfo; +import org.schabi.newpipe.extractor.StreamPreviewInfo; + /** * Created by Christian Schabesberger on 24.10.15. * @@ -72,7 +72,7 @@ public class VideoInfoItemViewCreator { if(info.uploader != null && !info.uploader.isEmpty()) { holder.itemUploaderView.setText(info.uploader); } else { - holder.itemDurationView.setVisibility(View.INVISIBLE); + holder.itemUploaderView.setVisibility(View.INVISIBLE); } if(info.duration > 0) { holder.itemDurationView.setText(getDurationString(info.duration));