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 { } else {
timelinesVM.getHome(BaseMainActivity.currentInstance, BaseMainActivity.currentToken, true, max_id_fetch_more, null, null, MastodonHelper.statusesPerCall(requireActivity()), false) timelinesVM.getHome(BaseMainActivity.currentInstance, BaseMainActivity.currentToken, true, max_id_fetch_more, null, null, MastodonHelper.statusesPerCall(requireActivity()), false)
.observe(getViewLifecycleOwner(), statusesBottom -> { .observe(getViewLifecycleOwner(), statusesBottom -> dealWithPagination(statusesBottom, DIRECTION.BOTTOM, true));
dealWithPagination(statusesBottom, DIRECTION.BOTTOM, true);
});
} }
} else if (direction == DIRECTION.TOP) { } else if (direction == DIRECTION.TOP) {
if (!fetchingMissing) { if (!fetchingMissing) {