mirror of
https://github.com/Myzel394/NumberHub.git
synced 2025-06-19 08:45:27 +02:00
Fixed auto scroll in chips row
This commit is contained in:
parent
9094d9b527
commit
9120fa649d
@ -126,7 +126,7 @@ private fun BasicUnitListScreen(
|
||||
*/
|
||||
viewModel.setSelectedChip(currentUnit.group)
|
||||
viewModel.loadUnitsToShow(noBrokenCurrencies)
|
||||
chipsRowLazyListState.animateScrollToItem(ALL_UNIT_GROUPS.indexOf(currentUnit.group))
|
||||
chipsRowLazyListState.animateScrollToItem(uiState.shownUnitGroups.indexOf(currentUnit.group))
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user