Skip to content

Commit b124ddd

Browse files
OPTI-1528: check whether the label is null or blank
1 parent c1e1984 commit b124ddd

File tree

1 file changed

+1
-1
lines changed
  • ui/src/main/java/com/theoplayer/android/ui

1 file changed

+1
-1
lines changed

ui/src/main/java/com/theoplayer/android/ui/Helper.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ fun rememberTrackLabel(
9393
}
9494
},
9595
)
96-
if (!label.isNullOrEmpty()) {
96+
if (!label.isNullOrBlank()) {
9797
return@remember label
9898
}
9999
val localisedLanguage = track.localisedLanguage

0 commit comments

Comments
 (0)