fix(compil): oups, compil failed

This commit is contained in:
2026-08-03 20:32:14 +02:00
parent e80c382a25
commit 9945f2b339
@@ -298,7 +298,7 @@ class OmniPlayer(
override val renditions by mainThreadProperty {
val group =
player.currentTracks.groups.firstOrNull { it.isSelected && it.type == C.TRACK_TYPE_VIDEO }
?: return emptyArray()
?: return@mainThreadProperty emptyArray<Rendition>()
val currentIndex = when {
isAutoQuality -> {
@@ -326,7 +326,7 @@ class OmniPlayer(
)
)
}
return result.toTypedArray()
return@mainThreadProperty result.toTypedArray()
}
override var isAutoQuality by mainThreadProperty {
@@ -478,9 +478,6 @@ class OmniPlayer(
return tracks.associateBy { it.id }
}
private fun getRenditions(): Array<Rendition> {
}
override fun selectRendition(rendition: Rendition?) {
runOnMainThreadSync {
if (rendition == null) {