Fixes controller comparison for keep playing

pull/819/head
Vitor Pamplona 2024-03-26 15:06:55 -04:00
rodzic d61d684a27
commit 6690d5391c
1 zmienionych plików z 1 dodań i 1 usunięć

Wyświetl plik

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