Skip to content

Commit

Permalink
Merge pull request #116 from snuhcs-course/feat/symbol-scroll-to-top
Browse files Browse the repository at this point in the history
feat: symbol scroll to top
  • Loading branch information
JH747 authored Dec 9, 2023
2 parents 631b63c + 2afada5 commit 9fb1283
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ fun SymbolSelectionScreen(
onSelect = {
coroutineScope.launch {
val id = viewModel.selectSymbol(entry)
lazyListState.animateScrollToItem(id)
lazyGridState.animateScrollToItem(0)
}
},
onFavoriteChange = { viewModel.updateFavorite(entry, it) }
Expand Down

0 comments on commit 9fb1283

Please sign in to comment.