diff --git a/app/src/main/java/com/github/libretube/ui/adapters/WatchHistoryAdapter.kt b/app/src/main/java/com/github/libretube/ui/adapters/WatchHistoryAdapter.kt index ee0c3db70..9eae99ad5 100644 --- a/app/src/main/java/com/github/libretube/ui/adapters/WatchHistoryAdapter.kt +++ b/app/src/main/java/com/github/libretube/ui/adapters/WatchHistoryAdapter.kt @@ -54,7 +54,8 @@ class WatchHistoryAdapter( holder.binding.apply { videoTitle.text = video.title channelName.text = video.uploader - videoInfo.text = video.uploadDate?.let { TextUtils.localizeDate(it) } + videoInfo.text = + video.uploadDate?.takeIf { !video.isLive }?.let { TextUtils.localizeDate(it) } ImageHelper.loadImage(video.thumbnailUrl, thumbnail) if (video.duration != null) {