Fix quote reply scroll-to-bottom behavior.
This commit is contained in:
parent
f293f88958
commit
195360a0f9
1 changed files with 1 additions and 1 deletions
|
@ -2396,7 +2396,7 @@ class ConversationFragment :
|
|||
|
||||
private inner class DataObserver : RecyclerView.AdapterDataObserver() {
|
||||
override fun onItemRangeInserted(positionStart: Int, itemCount: Int) {
|
||||
if (positionStart == 0 && itemCount == 1 && shouldScrollToBottom()) {
|
||||
if (positionStart == 0 && shouldScrollToBottom()) {
|
||||
layoutManager.scrollToPositionWithOffset(0, 0)
|
||||
scrollListener?.onScrolled(binding.conversationItemRecycler, 0, 0)
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue