mirror of
https://github.com/SchildiChat/SchildiChat-android.git
synced 2025-01-22 07:17:53 +01:00
Missed scrollToPosition() -> scrollToPositionWithOffset()
This should make the scroll position more reliable. Change-Id: Ideba69e14f122d0f93a6edad8d27612f7bc45f59
This commit is contained in:
parent
04e4ad0d6e
commit
3af5e6ea76
@ -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…
Reference in New Issue
Block a user