From 1b6ddc0c0b801ae17de03d4e756036fc0c5e3fb3 Mon Sep 17 00:00:00 2001 From: Niels Andriesse Date: Wed, 23 Jun 2021 16:08:30 +1000 Subject: [PATCH] Hook up scroll button --- .../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 8bb02c027a..305f1e282a 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 @@ -99,6 +99,7 @@ class ConversationActivityV2 : PassphraseRequiredActionBarActivity(), InputBarDe setUpInputBar() restoreDraftIfNeeded() addOpenGroupGuidelinesIfNeeded() + scrollToBottomButton.setOnClickListener { conversationRecyclerView.smoothScrollToPosition(0) } } private fun setUpRecyclerView() {