LottieAnimation must match parentSize
This commit is contained in:
+1
-1
@@ -52,7 +52,7 @@ fun FeaturedLottieFileView(
|
|||||||
.width(170.dp),
|
.width(170.dp),
|
||||||
content = {
|
content = {
|
||||||
LottieAnimation(
|
LottieAnimation(
|
||||||
modifier = Modifier.wrapContentSize(),
|
modifier = Modifier.matchParentSize(),
|
||||||
composition = composition,
|
composition = composition,
|
||||||
progress = progress,
|
progress = progress,
|
||||||
)
|
)
|
||||||
|
|||||||
Reference in New Issue
Block a user