mirror of
https://github.com/vitorpamplona/amethyst.git
synced 2025-04-09 04:18:11 +02:00
Does apply the video's dimensions when the user has selected to not automatically start the playback
This commit is contained in:
parent
ed21d4cafb
commit
016bd1ed81
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user