mirror of
https://codeberg.org/tom79/Fedilab.git
synced 2025-07-08 12:50:29 +03:00
Fix #253 - Missing messages
This commit is contained in:
parent
f597d52a44
commit
3dd2e45987
1 changed files with 4 additions and 2 deletions
|
@ -941,8 +941,10 @@ public class FragmentMastodonTimeline extends Fragment implements StatusAdapter.
|
||||||
.observe(getViewLifecycleOwner(), statusesBottom -> dealWithPagination(statusesBottom, DIRECTION.BOTTOM, false));
|
.observe(getViewLifecycleOwner(), statusesBottom -> dealWithPagination(statusesBottom, DIRECTION.BOTTOM, false));
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
timelinesVM.getHomeCache(BaseMainActivity.currentInstance, BaseMainActivity.currentUserID, max_id_fetch_more, null, null)
|
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) {
|
} else if (direction == DIRECTION.TOP) {
|
||||||
if (!fetchingMissing) {
|
if (!fetchingMissing) {
|
||||||
|
|
Loading…
Reference in a new issue