1
0
mirror of https://github.com/TeamNewPipe/NewPipe synced 2025-01-23 23:46:57 +00:00

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

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 {