Fixes controller comparison for keep playing

This commit is contained in:
Vitor Pamplona 2024-03-26 15:06:55 -04:00
parent d61d684a27
commit 6690d5391c

View File

@ -408,7 +408,7 @@ fun GetVideoController(
val keepPlaying =
remember(videoUri) {
mutableStateOf<Boolean>(
keepPlayingMutex != null && controller == keepPlayingMutex,
keepPlayingMutex != null && controller.value == keepPlayingMutex,
)
}