Browse Source

close #1064

renovate/org.robolectric-robolectric-4.x
Austin Huang 3 years ago
parent
commit
da82759d19
No known key found for this signature in database GPG Key ID: 84C23AA04587A91F
  1. 2
      app/src/main/java/awais/instagrabber/fragments/StoryViewerFragment.java

2
app/src/main/java/awais/instagrabber/fragments/StoryViewerFragment.java

@ -1277,7 +1277,7 @@ public class StoryViewerFragment extends Fragment {
final List<Story> models = feedStoriesViewModel.getList().getValue();
final List<Story> modelsCopy = models == null ? new ArrayList<>() : new ArrayList<>(models);
modelsCopy.set(currentFeedStoryIndex, oldFeedStoryModel);
feedStoriesViewModel.getList().postValue(models);
feedStoriesViewModel.getList().postValue(modelsCopy);
}
}
fetching = true;

Loading…
Cancel
Save