Add Modifier::aspectRatio in PlayerView image

This commit is contained in:
vfsfitvnm 2022-06-05 16:01:40 +02:00
parent cab0f4f09b
commit d702557605

View file

@ -238,6 +238,7 @@ fun PlayerView(
modifier = Modifier
.padding(bottom = 32.dp)
.padding(horizontal = 32.dp)
.aspectRatio(1f)
.clip(ThumbnailRoundness.shape)
.size(thumbnailSizeDp)
)