From 016bd1ed816743ec29f759058b5e0ebfc311796c Mon Sep 17 00:00:00 2001 From: Vitor Pamplona Date: Sun, 17 Dec 2023 14:30:04 -0500 Subject: [PATCH] Does apply the video's dimensions when the user has selected to not automatically start the playback --- .../java/com/vitorpamplona/amethyst/ui/components/VideoView.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/src/main/java/com/vitorpamplona/amethyst/ui/components/VideoView.kt b/app/src/main/java/com/vitorpamplona/amethyst/ui/components/VideoView.kt index 2fe16d2fd..8eb5c4e77 100644 --- a/app/src/main/java/com/vitorpamplona/amethyst/ui/components/VideoView.kt +++ b/app/src/main/java/com/vitorpamplona/amethyst/ui/components/VideoView.kt @@ -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