mirror of
https://github.com/KokaKiwi/BarInsta
synced 2024-12-26 14:46:59 +00:00
fix comments crash
This commit is contained in:
parent
f909408916
commit
7ee756eff3
@ -84,8 +84,8 @@ public final class CommentsViewerFragment extends BottomSheetDialogFragment impl
|
||||
|
||||
@Override
|
||||
public void onResult(final List<CommentModel> commentModels) {
|
||||
endCursor = commentModels.get(0).getEndCursor();
|
||||
if (commentModels != null && commentModels.size() > 0) {
|
||||
endCursor = commentModels.get(0).getEndCursor();
|
||||
List<CommentModel> list = commentsViewModel.getList().getValue();
|
||||
list = list != null ? new LinkedList<>(list) : new LinkedList<>();
|
||||
// final int oldSize = list != null ? list.size() : 0;
|
||||
|
Loading…
Reference in New Issue
Block a user