1
0
mirror of https://github.com/KokaKiwi/BarInsta synced 2024-11-25 16:17:29 +00:00
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

View File

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