kopia lustrzana https://github.com/ryukoposting/Signal-Android
rodzic
371d9e8f01
commit
7139f91997
|
@ -1380,7 +1380,7 @@ public class ConversationFragment extends LoggingFragment implements Multiselect
|
|||
}
|
||||
|
||||
int position = getListLayoutManager().findFirstVisibleItemPosition();
|
||||
if (position == getListAdapter().getItemCount() - 1) {
|
||||
if (position == -1 || position == getListAdapter().getItemCount() - 1) {
|
||||
return;
|
||||
}
|
||||
|
||||
|
|
|
@ -30,7 +30,7 @@ class LastSeenHeader extends StickyHeaderDecoration {
|
|||
|
||||
@Override
|
||||
protected boolean hasHeader(RecyclerView parent, StickyHeaderAdapter stickyAdapter, int position) {
|
||||
if (lastSeenTimestamp <= 0) {
|
||||
if (lastSeenTimestamp <= 0 || unreadCount <= 0) {
|
||||
return false;
|
||||
}
|
||||
|
||||
|
|
Ładowanie…
Reference in New Issue