Fix pull down refresh on Post detail pages

The refresh function was incorrectly called, making the loading progress not stopping at all (actually it didn't even start properly)
This commit is contained in:
Balazs Toldi
2024-01-04 14:51:54 +01:00
parent 2ea47cf7fd
commit d0849e9f27

View File

@ -558,7 +558,7 @@ public class ViewPostDetailFragment extends Fragment implements FragmentCommunic
touchHelper.attachToRecyclerView((mCommentsRecyclerView == null ? mRecyclerView : mCommentsRecyclerView));
}
mSwipeRefreshLayout.setOnRefreshListener(() -> refresh());
mSwipeRefreshLayout.setOnRefreshListener(() -> refresh(true, true));
mSmoothScroller = new LinearSmoothScroller(activity) {
@Override