Austin Huang
3 years ago
No known key found for this signature in database
GPG Key ID: 84C23AA04587A91F
1 changed files with
1 additions and
1 deletions
-
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> 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; |
|
|