Skip to content

Commit 425570a

Browse files
committed
[PC-1259] 페이지 변경 시 애니메이션 제거
1 parent 007de8c commit 425570a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

feature/onboarding/src/main/java/com/puzzle/onboarding/OnboardingScreen.kt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -112,9 +112,9 @@ private fun OnboardingScreen(onStartButtonClick: () -> Unit) {
112112
currentPage = currentPage,
113113
pageCount = pageCount,
114114
currentPageData = currentPageData,
115-
onNextClick = { scope.launch { pagerState.animateScrollToPage(currentPage + 1) } },
115+
onNextClick = { scope.launch { pagerState.scrollToPage(currentPage + 1) } },
116116
onStartClick = onStartButtonClick,
117-
onRestartClick = { scope.launch { pagerState.animateScrollToPage(0) } }
117+
onRestartClick = { scope.launch { pagerState.scrollToPage(0) } }
118118
)
119119
}
120120
}

0 commit comments

Comments
 (0)