mirror of
https://github.com/signalapp/Signal-Android.git
synced 2025-12-22 03:58:48 +00:00
Fix scroll button when only one giant message is displayed.
This commit is contained in:
committed by
Nicholas Tinsley
parent
898404fc65
commit
e9777ccfc6
@@ -2308,7 +2308,7 @@ class ConversationFragment :
|
|||||||
}
|
}
|
||||||
|
|
||||||
private fun isScrolledPastButtonThreshold(): Boolean {
|
private fun isScrolledPastButtonThreshold(): Boolean {
|
||||||
return layoutManager.findFirstCompletelyVisibleItemPosition() > 4
|
return layoutManager.findFirstVisibleItemPosition() > 4
|
||||||
}
|
}
|
||||||
|
|
||||||
private fun shouldScrollToBottom(): Boolean {
|
private fun shouldScrollToBottom(): Boolean {
|
||||||
|
|||||||
Reference in New Issue
Block a user