Merge pull request #5838 from ByteHamster/fix-loading-stuck

Fix 'loading more' getting stuck
This commit is contained in:
ByteHamster 2022-04-11 22:08:15 +02:00 committed by GitHub
commit eb2fea0a4e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions

View File

@ -398,6 +398,7 @@ public abstract class EpisodesListFragment extends Fragment {
.observeOn(AndroidSchedulers.mainThread())
.subscribe(data -> {
progLoading.setVisibility(View.GONE);
loadingMoreView.setVisibility(View.GONE);
hasMoreItems = true;
episodes = data;
onFragmentLoaded(episodes);