From 275b859effafb688de45568224885a4fc9991d1e Mon Sep 17 00:00:00 2001 From: Mattias Buelens Date: Tue, 10 Sep 2024 11:12:29 +0200 Subject: [PATCH] Tiny fix --- ui/src/main/java/com/theoplayer/android/ui/Player.kt | 1 + 1 file changed, 1 insertion(+) diff --git a/ui/src/main/java/com/theoplayer/android/ui/Player.kt b/ui/src/main/java/com/theoplayer/android/ui/Player.kt index 6b14e26..250d135 100644 --- a/ui/src/main/java/com/theoplayer/android/ui/Player.kt +++ b/ui/src/main/java/com/theoplayer/android/ui/Player.kt @@ -297,6 +297,7 @@ internal class PlayerImpl(override val theoplayerView: THEOplayerView?) : Player override val player = theoplayerView?.player override val ads = theoplayerView?.player?.ads override var cast by mutableStateOf(null) + private set override var currentTime by mutableStateOf(0.0) private set override var duration by mutableStateOf(Double.NaN)