Does apply the video's dimensions when the user has selected to not automatically start the playback
This commit is contained in:
@@ -184,7 +184,7 @@ fun VideoView(
|
|||||||
|
|
||||||
if (blurhash == null) {
|
if (blurhash == null) {
|
||||||
val ratio = aspectRatio(dimensions)
|
val ratio = aspectRatio(dimensions)
|
||||||
val modifier = if (ratio != null && roundedCorner) {
|
val modifier = if (ratio != null && roundedCorner && automaticallyStartPlayback.value) {
|
||||||
Modifier.aspectRatio(ratio)
|
Modifier.aspectRatio(ratio)
|
||||||
} else {
|
} else {
|
||||||
Modifier
|
Modifier
|
||||||
|
|||||||
Reference in New Issue
Block a user