Does apply the video's dimensions when the user has selected to not automatically start the playback

This commit is contained in:
Vitor Pamplona 2023-12-17 14:30:04 -05:00
parent ed21d4cafb
commit 016bd1ed81

View File

@ -184,7 +184,7 @@ fun VideoView(
if (blurhash == null) {
val ratio = aspectRatio(dimensions)
val modifier = if (ratio != null && roundedCorner) {
val modifier = if (ratio != null && roundedCorner && automaticallyStartPlayback.value) {
Modifier.aspectRatio(ratio)
} else {
Modifier