Fix scroll to bottom on send bug in CFv2.

This commit is contained in:
Cody Henthorne
2023-07-19 12:55:42 -04:00
committed by Nicholas
parent 627657e1de
commit c13339ca52
3 changed files with 30 additions and 5 deletions

View File

@@ -1679,6 +1679,7 @@ class ConversationFragment :
)
disposables += send
.doOnSubscribe { scrollToPositionDelegate.markListCommittedVersion() }
.subscribeBy(
onError = { t ->
Log.w(TAG, "Error sending", t)
@@ -1710,7 +1711,7 @@ class ConversationFragment :
conversationItemDecorations.unreadCount = 0
scrollToPositionDelegate.resetScrollPosition()
scrollToPositionDelegate.resetScrollPositionAfterMarkListVersionSurpassed()
attachmentManager.cleanup()
updateLinkPreviewState()