fix: 滚动至回复时错位

This commit is contained in:
HuanCheng65 2023-10-06 14:31:18 +08:00
parent d1a40fa4a1
commit ffafd9d106
No known key found for this signature in database
GPG Key ID: 5EC9DD60A32C7360
1 changed files with 1 additions and 1 deletions

View File

@ -605,7 +605,7 @@ fun ThreadPage(
viewModel.onEvent<ThreadUiEvent.LoadSuccess> {
if (it.page > 1 || waitLoadSuccessAndScrollToFirstReply) {
waitLoadSuccessAndScrollToFirstReply = false
lazyListState.animateScrollToItem(3)
lazyListState.animateScrollToItem(1)
}
}
viewModel.onEvent<ThreadUiEvent.AddFavoriteSuccess> {