Fix crash when opening YouTube mixes

This commit is contained in:
Isira Seneviratne 2024-07-29 17:42:10 +05:30
parent 44530618e0
commit 2f9364a2cf
1 changed files with 1 additions and 1 deletions

View File

@ -50,7 +50,7 @@ internal fun getStreamInfoDetail(stream: StreamInfoItem): String {
Localization.relativeTimeOrTextual(context, stream.uploadDate, stream.textualUploadDate)
if (views.isEmpty()) {
date
date.orEmpty()
} else if (date.isNullOrEmpty()) {
views
} else {