This commit is contained in:
Thomas 2022-07-31 11:13:20 +02:00
parent 2854f45ae2
commit 51c3bc56f3

View file

@ -942,9 +942,7 @@ public class FragmentMastodonTimeline extends Fragment implements StatusAdapter.
}
} else {
timelinesVM.getHome(BaseMainActivity.currentInstance, BaseMainActivity.currentToken, true, max_id_fetch_more, null, null, MastodonHelper.statusesPerCall(requireActivity()), false)
.observe(getViewLifecycleOwner(), statusesBottom -> {
dealWithPagination(statusesBottom, DIRECTION.BOTTOM, true);
});
.observe(getViewLifecycleOwner(), statusesBottom -> dealWithPagination(statusesBottom, DIRECTION.BOTTOM, true));
}
} else if (direction == DIRECTION.TOP) {
if (!fetchingMissing) {