mirror of
https://github.com/KokaKiwi/BarInsta
synced 2024-11-25 08:07:29 +00:00
close #1064
This commit is contained in:
parent
4d9494cbcf
commit
da82759d19
@ -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;
|
||||||
|
Loading…
Reference in New Issue
Block a user