mirror of
https://codeberg.org/Bazsalanszky/Infinity-For-Lemmy.git
synced 2024-12-29 12:27:11 +01:00
parent
1f8348bbfa
commit
c9e6a0bc2e
@ -905,7 +905,8 @@ public class CommentsRecyclerViewAdapter extends RecyclerView.Adapter<RecyclerVi
|
|||||||
loadedComments.add(comments.get(i).getId());
|
loadedComments.add(comments.get(i).getId());
|
||||||
}
|
}
|
||||||
if (mIsSingleCommentThreadMode) {
|
if (mIsSingleCommentThreadMode) {
|
||||||
notifyItemRangeInserted(sizeBefore, comments.size() + 1);
|
int offset = (comments.size() > 0) ? 1 : 0;
|
||||||
|
notifyItemRangeInserted(sizeBefore, comments.size() + offset);
|
||||||
} else {
|
} else {
|
||||||
notifyItemRangeInserted(sizeBefore, comments.size());
|
notifyItemRangeInserted(sizeBefore, comments.size());
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user