Skip to content

Commit 2f9364a

Browse files
Fix crash when opening YouTube mixes
1 parent 4453061 commit 2f9364a

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

  • app/src/main/java/org/schabi/newpipe/ui/components/stream

app/src/main/java/org/schabi/newpipe/ui/components/stream/StreamUtils.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ internal fun getStreamInfoDetail(stream: StreamInfoItem): String {
5050
Localization.relativeTimeOrTextual(context, stream.uploadDate, stream.textualUploadDate)
5151

5252
if (views.isEmpty()) {
53-
date
53+
date.orEmpty()
5454
} else if (date.isNullOrEmpty()) {
5555
views
5656
} else {

0 commit comments

Comments
 (0)