switch scrolling style to jump straight to "0"

Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
This commit is contained in:
Andy Scherzinger 2023-02-08 12:30:21 +01:00
parent 5dfbb83375
commit 45f6e3b474
No known key found for this signature in database
GPG key ID: 6CADC7E3523C308B

View file

@ -673,7 +673,7 @@ class ChatController(args: Bundle) :
}
}
binding?.scrollDownButton?.setOnClickListener { binding?.messagesListView?.smoothScrollToPosition(0) }
binding?.scrollDownButton?.setOnClickListener { binding?.messagesListView?.scrollToPosition(0) }
binding?.let { viewThemeUtils.material.colorMaterialButtonPrimaryTonal(it.scrollDownButton) }
binding?.let { viewThemeUtils.material.colorMaterialButtonPrimaryFilled(it.popupBubbleView) }