mirror of
https://codeberg.org/tom79/Fedilab.git
synced 2024-12-22 16:50:04 +02:00
crash
This commit is contained in:
parent
04355116f4
commit
c7f6fefc7f
1 changed files with 1 additions and 1 deletions
|
@ -917,7 +917,7 @@ public class FragmentMastodonTimeline extends Fragment implements StatusAdapter.
|
||||||
timelinesVM.getTimeline(timelineStatuses, timelineParams)
|
timelinesVM.getTimeline(timelineStatuses, timelineParams)
|
||||||
.observe(getViewLifecycleOwner(), statuses -> {
|
.observe(getViewLifecycleOwner(), statuses -> {
|
||||||
initialStatuses = statuses;
|
initialStatuses = statuses;
|
||||||
if (!retry_for_home_done && timelineType == Timeline.TimeLineEnum.HOME && (statuses == null || statuses.statuses == null || statuses.statuses.size() == 0) && timelineParams.maxId != null) {
|
if (!retry_for_home_done && timelineType == Timeline.TimeLineEnum.HOME && timelineParams.maxId != null && (statuses == null || statuses.statuses == null || statuses.statuses.size() == 0)) {
|
||||||
retry_for_home_done = true;
|
retry_for_home_done = true;
|
||||||
timelineParams.maxId = null;
|
timelineParams.maxId = null;
|
||||||
max_id = null;
|
max_id = null;
|
||||||
|
|
Loading…
Reference in a new issue