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
No known key found for this signature in database
GPG Key ID: 6C7D440036F99D58

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