From da82759d19c854a5b6944f23954cb1610df9010a Mon Sep 17 00:00:00 2001 From: Austin Huang Date: Tue, 29 Jun 2021 16:59:42 -0400 Subject: [PATCH] close #1064 --- .../java/awais/instagrabber/fragments/StoryViewerFragment.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/src/main/java/awais/instagrabber/fragments/StoryViewerFragment.java b/app/src/main/java/awais/instagrabber/fragments/StoryViewerFragment.java index ff499fe6..59346a17 100644 --- a/app/src/main/java/awais/instagrabber/fragments/StoryViewerFragment.java +++ b/app/src/main/java/awais/instagrabber/fragments/StoryViewerFragment.java @@ -1277,7 +1277,7 @@ public class StoryViewerFragment extends Fragment { final List models = feedStoriesViewModel.getList().getValue(); final List modelsCopy = models == null ? new ArrayList<>() : new ArrayList<>(models); modelsCopy.set(currentFeedStoryIndex, oldFeedStoryModel); - feedStoriesViewModel.getList().postValue(models); + feedStoriesViewModel.getList().postValue(modelsCopy); } } fetching = true;