feat: update demo

This commit is contained in:
2023-11-28 09:39:18 +08:00
parent c6b72b6501
commit 03b42dad6d

View File

@@ -224,7 +224,7 @@ private fun TabPagerView() {
val scope = rememberCoroutineScope()
ScrollableTabRow(
selectedTabIndex = state.currentPage,
pagerState = state
indicator = { TabIndicator(modifier = Modifier.pagerTabIndicatorOffset(state)) }
) {
for (index in 0 until pageCount)
Tab(