File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed
feature/onboarding/src/main/java/com/puzzle/onboarding/ui Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -64,11 +64,11 @@ internal fun PageContent(
6464 is PageContentType .Lottie -> {
6565 StopAtProgressLottie (
6666 lottieRes = pageContentType.lottieRes,
67- targetProgress = 0.99f ,
6867 shouldPlay = isPageActive,
6968 modifier = Modifier
7069 .fillMaxWidth()
7170 .aspectRatio(375f / 433f ),
71+ targetProgress = 0.99f
7272 )
7373 }
7474 }
Original file line number Diff line number Diff line change @@ -20,9 +20,9 @@ import com.airbnb.lottie.compose.rememberLottieComposition
2020@Composable
2121internal fun StopAtProgressLottie (
2222 @RawRes lottieRes : Int ,
23- targetProgress : Float = 1.0f,
2423 shouldPlay : Boolean ,
25- modifier : Modifier = Modifier
24+ modifier : Modifier = Modifier ,
25+ targetProgress : Float = 1.0f
2626) {
2727 val composition by rememberLottieComposition(
2828 LottieCompositionSpec .RawRes (lottieRes)
You can’t perform that action at this time.
0 commit comments