From 7ed12ce87d4d7ba814c3be35a623f02d7df02951 Mon Sep 17 00:00:00 2001 From: 0x330a <92654767+0x330a@users.noreply.github.com> Date: Wed, 17 May 2023 13:28:12 +1000 Subject: [PATCH] fix: handle recyclerview scrolled on scroll to first unread if it's the first load --- .../securesms/conversation/v2/ConversationActivityV2.kt | 1 + 1 file changed, 1 insertion(+) diff --git a/app/src/main/java/org/thoughtcrime/securesms/conversation/v2/ConversationActivityV2.kt b/app/src/main/java/org/thoughtcrime/securesms/conversation/v2/ConversationActivityV2.kt index 2688f24790..c56f41b1b3 100644 --- a/app/src/main/java/org/thoughtcrime/securesms/conversation/v2/ConversationActivityV2.kt +++ b/app/src/main/java/org/thoughtcrime/securesms/conversation/v2/ConversationActivityV2.kt @@ -498,6 +498,7 @@ class ConversationActivityV2 : PassphraseRequiredActionBarActivity(), InputBarDe jumpToMessage(author, messageTimestamp, null) } else if (firstLoad.getAndSet(false)) { scrollToFirstUnreadMessageIfNeeded() + handleRecyclerViewScrolled() } } updatePlaceholder()