diff --git a/app/src/main/java/com/github/libretube/ui/adapters/PlaylistAdapter.kt b/app/src/main/java/com/github/libretube/ui/adapters/PlaylistAdapter.kt index 1a4d92a44..7581bbad8 100644 --- a/app/src/main/java/com/github/libretube/ui/adapters/PlaylistAdapter.kt +++ b/app/src/main/java/com/github/libretube/ui/adapters/PlaylistAdapter.kt @@ -80,12 +80,14 @@ class PlaylistAdapter( holder.binding.apply { videoTitle.text = streamItem.title - videoInfo.text = streamItem.uploaderName - channelImageContainer.isGone = true + videoInfo.text = TextUtils.formatViewsString(root.context, streamItem.views ?: -1, streamItem.uploaded, streamItem.uploaderName) + videoInfo.maxLines = 2 - thumbnailDuration.setFormattedDuration(streamItem.duration ?: -1, streamItem.isShort, streamItem.uploaded) + // piped does not load channel avatars for playlist views + channelContainer.isGone = true ImageHelper.loadImage(streamItem.thumbnail, thumbnail) + thumbnailDuration.setFormattedDuration(streamItem.duration ?: -1, streamItem.isShort, streamItem.uploaded) root.setOnClickListener { NavigationHelper.navigateVideo(root.context, streamItem.url, playlistId)