mirror of
https://github.com/SchildiChat/SchildiChat-android.git
synced 2025-03-15 18:59:12 +03:00
Missed scrollToPosition() -> scrollToPositionWithOffset()
This should make the scroll position more reliable. Change-Id: Ideba69e14f122d0f93a6edad8d27612f7bc45f59
This commit is contained in:
parent
04e4ad0d6e
commit
3af5e6ea76
1 changed files with 1 additions and 1 deletions
|
@ -797,7 +797,7 @@ class RoomDetailFragment @Inject constructor(
|
|||
roomDetailViewModel.timeline.restartWithEventId(null)
|
||||
} else {
|
||||
roomDetailViewModel.timeline.setInitialEventId(null)
|
||||
layoutManager.scrollToPosition(0)
|
||||
layoutManager.scrollToPositionWithOffset(0, 0)
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue