try to fix wired jump to bottom button behavior

This commit is contained in:
kosyak 2024-09-02 01:10:32 +02:00
parent e3542ccf72
commit 021552b1d4

View file

@ -590,7 +590,7 @@ public class ConversationFragment extends XmppFragment
public void onClick(View v) {
stopScrolling();
if (previousClickedReply != null) {
/*if (previousClickedReply != null) {
int lastVisiblePosition = binding.messagesView.getLastVisiblePosition();
Message lastVisibleMessage = messageListAdapter.getItem(lastVisiblePosition);
Message jump = previousClickedReply;
@ -602,7 +602,7 @@ public class ConversationFragment extends XmppFragment
return;
}
}
}
}*/
if (conversation.isInHistoryPart()) {
conversation.jumpToLatest();