Skip to content

Commit 0a205b2

Browse files
committed
[PC-1413] 컴포즈 컴벤션에 맞게 파라미터 순서 수정
1 parent 7711e90 commit 0a205b2

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

feature/onboarding/src/main/java/com/puzzle/onboarding/ui/PageContent.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff 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
}

feature/onboarding/src/main/java/com/puzzle/onboarding/ui/components/StopAtProgressLottie.kt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,9 +20,9 @@ import com.airbnb.lottie.compose.rememberLottieComposition
2020
@Composable
2121
internal 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)

0 commit comments

Comments
 (0)