Adjust tab indicator visual (#9219)
Now behaves like the non-compose indicator by showing the swipe progress too
This commit is contained in:
@@ -69,7 +69,7 @@ fun TabbedScreen(
|
||||
) {
|
||||
TabRow(
|
||||
selectedTabIndex = state.currentPage,
|
||||
indicator = { TabIndicator(it[state.currentPage]) },
|
||||
indicator = { TabIndicator(it[state.currentPage], state.currentPageOffsetFraction) },
|
||||
) {
|
||||
tabs.forEachIndexed { index, tab ->
|
||||
Tab(
|
||||
|
||||
Reference in New Issue
Block a user