Skip to content

Commit 42f6d51

Browse files
committed
refactor :: 인디케이터 개수 pageState에 맞게 수 적용
1 parent db20e8f commit 42f6d51

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

feature/src/main/java/team/aliens/dms/android/feature/main/application/ApplicationScreen.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,7 @@ internal fun ApplicationScreen(
115115
.padding(vertical = 16.dp),
116116
horizontalArrangement = Arrangement.Center,
117117
) {
118-
repeat(2) { index ->
118+
repeat(pagerState.pageCount) { index ->
119119
val color = if (pagerState.currentPage == index) {
120120
DmsTheme.colorScheme.backgroundVariant
121121
} else {

0 commit comments

Comments
 (0)