mirror of
https://github.com/KokaKiwi/BarInsta
synced 2025-11-20 12:56:31 +00:00
close #1638
This commit is contained in:
parent
0535df25b0
commit
4a295f0617
1 changed files with 1 additions and 1 deletions
|
|
@ -118,7 +118,7 @@ public final class StoryListViewerFragment extends Fragment implements SwipeRefr
|
|||
endCursor = result.getMaxId();
|
||||
final List<Story> models = archivesViewModel.getList().getValue();
|
||||
final List<Story> modelsCopy = models == null ? new ArrayList<>() : new ArrayList<>(models);
|
||||
modelsCopy.addAll(result.getItems());
|
||||
if (result.getItems() != null) modelsCopy.addAll(result.getItems());
|
||||
archivesViewModel.getList().postValue(modelsCopy);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue