mirror of
https://github.com/SchildiChat/SchildiChat-android.git
synced 2024-11-28 05:59:05 +03:00
Fix jump-to-bottom sometimes jumping back up
Change-Id: I798247588b77d3dba0180a150b40def6e235efc7
This commit is contained in:
parent
15d8a916b1
commit
7c21cf0c93
1 changed files with 1 additions and 0 deletions
|
@ -778,6 +778,7 @@ class TimelineFragment :
|
|||
}
|
||||
|
||||
private fun doJumpToBottom() {
|
||||
scrollOnNewMessageCallback.initialForceScrollEventId = null
|
||||
if (timelineViewModel.timeline?.isLive == false) {
|
||||
scrollOnNewMessageCallback.forceScrollOnNextUpdate()
|
||||
timelineViewModel.timeline?.restartWithEventId(null)
|
||||
|
|
Loading…
Reference in a new issue