Austin Huang
4 years ago
No known key found for this signature in database
GPG Key ID: 84C23AA04587A91F
1 changed files with
1 additions and
1 deletions
-
app/src/main/java/awais/instagrabber/fragments/StoryListViewerFragment.java
|
|
@ -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); |
|
|
|
} |
|
|
|
} |
|
|
|