Browse Source

Quick workaround for leftover refreshing status

renovate/org.robolectric-robolectric-4.x
Ammar Githam 4 years ago
parent
commit
46014928df
  1. 1
      app/src/main/java/awais/instagrabber/fragments/main/FeedFragment.java

1
app/src/main/java/awais/instagrabber/fragments/main/FeedFragment.java

@ -325,6 +325,7 @@ public class FeedFragment extends Fragment implements SwipeRefreshLayout.OnRefre
@Override @Override
public void onResume() { public void onResume() {
super.onResume(); super.onResume();
binding.feedSwipeRefreshLayout.setRefreshing(false);
if (videoAwareRecyclerScroller != null && shouldAutoPlay) { if (videoAwareRecyclerScroller != null && shouldAutoPlay) {
videoAwareRecyclerScroller.startPlaying(); videoAwareRecyclerScroller.startPlaying();
} }

Loading…
Cancel
Save