Fix crash when opening YouTube mixes
This commit is contained in:
parent
44530618e0
commit
2f9364a2cf
|
@ -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 {
|
||||
|
|
Loading…
Reference in New Issue