This commit is contained in:
Austin Huang 2021-06-29 16:59:42 -04:00
parent 4d9494cbcf
commit da82759d19
No known key found for this signature in database
GPG Key ID: 84C23AA04587A91F
1 changed files with 1 additions and 1 deletions

View File

@ -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;